summaryrefslogtreecommitdiff
path: root/net-p2p/automatic/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
commitabaa75b10f899ada8dd05b23cc03205064394bc6 (patch)
treeeca3dd248b73b92013cba00a0fcc1edf2696e19a /net-p2p/automatic/files
parent24fd814c326e282c4321965c31f341dad77e270d (diff)
gentoo resync : 22.01.2021
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 5e9ae5d69625..6f27e48781a8 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 a5c6189b56b1..4eaa1dc810cd 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 000000000000..4b86320e4791
--- /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