aboutsummaryrefslogtreecommitdiff
path: root/roles/pterodactyl_wings/files
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-02-13 14:32:04 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-02-13 14:32:04 +0100
commit6ad1f61d6ad11917837b86f60d8f08ce5b3eb3f6 (patch)
treebf0f6fe8593535ee8e097a74f8f124401c51c386 /roles/pterodactyl_wings/files
parent8e28e73ab7d1f4006b73d7dfa7b52eb4a9ec7e37 (diff)
downloadansible_collection-6ad1f61d6ad11917837b86f60d8f08ce5b3eb3f6.tar.gz
pterodactyl_wings
Diffstat (limited to 'roles/pterodactyl_wings/files')
-rw-r--r--roles/pterodactyl_wings/files/wings.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/pterodactyl_wings/files/wings.service b/roles/pterodactyl_wings/files/wings.service
new file mode 100644
index 0000000..d7a244e
--- /dev/null
+++ b/roles/pterodactyl_wings/files/wings.service
@@ -0,0 +1,19 @@
+[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