Skip to content

Instantly share code, notes, and snippets.

@kevineduardo
Created February 5, 2018 23:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevineduardo/330699ecdc4e189fc019289e97143710 to your computer and use it in GitHub Desktop.
Save kevineduardo/330699ecdc4e189fc019289e97143710 to your computer and use it in GitHub Desktop.
[Unit]
Description=Pterodactyl Wings Daemon
After=docker.service
[Service]
User=root
#Group=some_group
WorkingDirectory=/srv/daemon
LimitNOFILE=4096
PIDFile=/var/run/wings/daemon.pid
ExecStart=/usr/bin/node /srv/daemon/src/index.js
Restart=on-failure
StartLimitInterval=600
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment