summarylogtreecommitdiffstats
path: root/amuled.systemd
diff options
context:
space:
mode:
authorLin Ruoshui2019-03-16 10:40:33 +0000
committerLin Ruoshui2019-03-16 10:40:33 +0000
commit2fcc7e66464945420a9ac4b56d07f27e868c4949 (patch)
tree0abd03c99bedc6243f21083f732099e5185ae330 /amuled.systemd
parent0ea0caf2f479bc5a1a78803904bdcaa352de6b3b (diff)
downloadaur-amule-git.tar.gz
add systemd unit from community/amule and remove unused patch files
Diffstat (limited to 'amuled.systemd')
-rw-r--r--amuled.systemd12
1 files changed, 12 insertions, 0 deletions
diff --git a/amuled.systemd b/amuled.systemd
new file mode 100644
index 00000000000..e4ac5713b9b
--- /dev/null
+++ b/amuled.systemd
@@ -0,0 +1,12 @@
+[Unit]
+Description=aMule Daemon
+After=network.target
+
+# This assumes that a user 'amule' exists, with a writeable home directory
+[Service]
+User=amule
+ExecStart=/usr/bin/amuled
+NoNewPrivileges=true
+
+[Install]
+WantedBy=multi-user.target