From 5029aea1e0782ca328f35af96e6490de9d456db5 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 2 Nov 2021 01:10:58 -0400 Subject: [PATCH] Update install.sh --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index a7a3516..46bcea4 100644 --- a/install.sh +++ b/install.sh @@ -690,6 +690,8 @@ install_wings() { [Unit] Description=Pterodactyl Wings Daemon After=docker.service +Requires=docker.service +PartOf=docker.service [Service] User=root @@ -698,7 +700,9 @@ LimitNOFILE=4096 PIDFile=/var/run/wings/daemon.pid ExecStart=/usr/local/bin/wings Restart=on-failure -StartLimitInterval=600 +StartLimitInterval=180 +StartLimitBurst=30 +RestartSec=5s [Install] WantedBy=multi-user.target