summarylogtreecommitdiffstats
path: root/amuled.systemd
diff options
context:
space:
mode:
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 000000000000..e4ac5713b9b7
--- /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