summarylogtreecommitdiffstats
path: root/amuleweb.systemd
diff options
context:
space:
mode:
authorguidobelix2015-06-16 20:18:59 +0200
committerguidobelix2015-06-16 20:18:59 +0200
commit9488a5c1d2098da5ab38f2ef2ff663bc1bd3f154 (patch)
tree608752ccb6989776cb51c23c7135964322614f9d /amuleweb.systemd
downloadaur-9488a5c1d2098da5ab38f2ef2ff663bc1bd3f154.tar.gz
First commit to Aur4 + added systemd files
new file: .SRCINFO new file: PKGBUILD new file: amule.install new file: amuled.systemd new file: amuleweb.systemd new file: fix_icon+comment+name2.patch
Diffstat (limited to 'amuleweb.systemd')
-rw-r--r--amuleweb.systemd13
1 files changed, 13 insertions, 0 deletions
diff --git a/amuleweb.systemd b/amuleweb.systemd
new file mode 100644
index 000000000000..1799f4ae88c0
--- /dev/null
+++ b/amuleweb.systemd
@@ -0,0 +1,13 @@
+[Unit]
+Description=aMule 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