diff options
Diffstat (limited to 'net-p2p/automatic/files')
-rw-r--r-- | net-p2p/automatic/files/automatic.confd | 2 | ||||
-rw-r--r-- | net-p2p/automatic/files/automatic.initd | 1 | ||||
-rw-r--r-- | net-p2p/automatic/files/automatic.service | 12 |
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 |