summarylogtreecommitdiffstats
path: root/amuleweb.service
diff options
context:
space:
mode:
Diffstat (limited to 'amuleweb.service')
-rw-r--r--amuleweb.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/amuleweb.service b/amuleweb.service
new file mode 100644
index 00000000000..c143bc78586
--- /dev/null
+++ b/amuleweb.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Amule Adunanza Webserver
+Requires=amuled.service
+
+[Service]
+User=amule
+ExecStart=/usr/bin/amuleweb --quiet
+# If amuled still starting then amuleweb exits, restart until amuleweb is up
+Restart=on-success
+RestartSec=3s
+
+[Install]
+WantedBy=multi-user.target