summarylogtreecommitdiffstats
path: root/amuleweb.service
diff options
context:
space:
mode:
authorAndrea Venturini2016-12-10 14:11:04 +0100
committerAndrea Venturini2016-12-10 14:11:04 +0100
commit90439613f24effd8b51b6f5c977ffc14af2de2bd (patch)
tree02b0806694d9e60d1a8147b7e86691fcf28b4677 /amuleweb.service
downloadaur-90439613f24effd8b51b6f5c977ffc14af2de2bd.tar.gz
First commit
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 000000000000..c143bc78586a
--- /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