mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 10:31:34 -05:00
Update install.sh
This commit is contained in:
parent
28ce5de2fc
commit
5029aea1e0
@ -690,6 +690,8 @@ install_wings() {
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Pterodactyl Wings Daemon
|
Description=Pterodactyl Wings Daemon
|
||||||
After=docker.service
|
After=docker.service
|
||||||
|
Requires=docker.service
|
||||||
|
PartOf=docker.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
@ -698,7 +700,9 @@ LimitNOFILE=4096
|
|||||||
PIDFile=/var/run/wings/daemon.pid
|
PIDFile=/var/run/wings/daemon.pid
|
||||||
ExecStart=/usr/local/bin/wings
|
ExecStart=/usr/local/bin/wings
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
StartLimitInterval=600
|
StartLimitInterval=180
|
||||||
|
StartLimitBurst=30
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user