summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/automatic/files')
-rw-r--r--net-p2p/automatic/files/automatic.confd2
-rw-r--r--net-p2p/automatic/files/automatic.initd1
-rw-r--r--net-p2p/automatic/files/automatic.service12
3 files changed, 13 insertions, 2 deletions
diff --git a/net-p2p/automatic/files/automatic.confd b/net-p2p/automatic/files/automatic.confd
index 5e9ae5d6962..6f27e48781a 100644
--- a/net-p2p/automatic/files/automatic.confd
+++ b/net-p2p/automatic/files/automatic.confd
@@ -1,7 +1,7 @@
# Config file for /etc/init.d/automatic
# Various options.
-# run `samplicator -h` for valid cmdline options
+# run `automatic -h` for valid cmdline options
OPTS="-v 1 -a -l /var/log/automatic/automatic.log"
# Receiver config file
diff --git a/net-p2p/automatic/files/automatic.initd b/net-p2p/automatic/files/automatic.initd
index a5c6189b56b..4eaa1dc810c 100644
--- a/net-p2p/automatic/files/automatic.initd
+++ b/net-p2p/automatic/files/automatic.initd
@@ -15,7 +15,6 @@ EXEC=${EXEC:-/usr/bin/automatic}
depend() {
need net
- provide automatic
}
start() {
diff --git a/net-p2p/automatic/files/automatic.service b/net-p2p/automatic/files/automatic.service
new file mode 100644
index 00000000000..4b86320e479
--- /dev/null
+++ b/net-p2p/automatic/files/automatic.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=RSS downloader that adds torrents directly to Transmission
+
+[Service]
+Type=simple
+User=automatic
+ExecStart=/usr/bin/automatic -v 1 -a -l /var/log/automatic/automatic.log -c /etc/automatic.conf
+ExecReload=/bin/kill -HUP $MAINPID
+KillSignal=SIGINT
+
+[Install]
+WantedBy=multi-user.target