19 lines
360 B
SYSTEMD
19 lines
360 B
SYSTEMD
|
[Unit]
|
||
|
Description=Pterodactyl Wings Daemon
|
||
|
After=docker.service
|
||
|
Requires=docker.service
|
||
|
PartOf=docker.service
|
||
|
|
||
|
[Service]
|
||
|
User=root
|
||
|
WorkingDirectory=/etc/pterodactyl
|
||
|
LimitNOFILE=4096
|
||
|
PIDFile=/var/run/wings/daemon.pid
|
||
|
ExecStart=/usr/local/bin/wings
|
||
|
Restart=on-failure
|
||
|
StartLimitInterval=180
|
||
|
StartLimitBurst=30
|
||
|
RestartSec=5s
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|