summaryrefslogtreecommitdiffstats
path: root/abs/extra/transmission/transmission.systemd
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/transmission/transmission.systemd')
-rw-r--r--abs/extra/transmission/transmission.systemd14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/extra/transmission/transmission.systemd b/abs/extra/transmission/transmission.systemd
new file mode 100644
index 0000000..56ab8f7
--- /dev/null
+++ b/abs/extra/transmission/transmission.systemd
@@ -0,0 +1,14 @@
+[Unit]
+Description=Transmission Bit Torrent Daemon
+
+# This assumes that a user 'transmission' exists, with a writeable homedirectory,
+# and that /run/transmission exists and is writeable by the transmission user.
+
+[Service]
+User=transmission
+Type=forking
+PIDFile=/run/transmission/transmission.pid
+ExecStart=/usr/bin/transmission-daemon --pid-file /run/transmission/transmission.pid
+
+[Install]
+WantedBy=multi-user.target