diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
commit | 462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch) | |
tree | 11d4d3f054aae9ffd869adc634054f64a16d83b8 /pcr/opentracker | |
parent | 748e32a3a886569b58a27003e85b76be5746153d (diff) |
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'pcr/opentracker')
-rw-r--r-- | pcr/opentracker/license.txt | 2 | ||||
-rw-r--r-- | pcr/opentracker/opentracker.install | 17 | ||||
-rw-r--r-- | pcr/opentracker/opentracker.rc.d | 37 | ||||
-rw-r--r-- | pcr/opentracker/opentracker.service | 11 |
4 files changed, 0 insertions, 67 deletions
diff --git a/pcr/opentracker/license.txt b/pcr/opentracker/license.txt deleted file mode 100644 index ff1bb40f5..000000000 --- a/pcr/opentracker/license.txt +++ /dev/null @@ -1,2 +0,0 @@ -This software was written by Dirk Engling <erdgeist@erdgeist.org> -It is considered beerware. Prost. Skol. Cheers or whatever. diff --git a/pcr/opentracker/opentracker.install b/pcr/opentracker/opentracker.install deleted file mode 100644 index 59f6f6ebe..000000000 --- a/pcr/opentracker/opentracker.install +++ /dev/null @@ -1,17 +0,0 @@ -post_install() { - cat <<EOM - - Please be aware this package is built without accesslist support. Any - torrent announced to it will be tracked. - - If you want this features you'll have to rebuild this package. There're - instructions on the PKGBUILD. - - For more info check: http://erdgeist.org/arts/software/opentracker/ - -EOM -} - -post_upgrade() { - post_install -} diff --git a/pcr/opentracker/opentracker.rc.d b/pcr/opentracker/opentracker.rc.d deleted file mode 100644 index b1aa34c14..000000000 --- a/pcr/opentracker/opentracker.rc.d +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash - -# general config -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/bin/opentracker` - -case "$1" in - start) - stat_busy "Starting opentracker Daemon" - [ -z "$PID" ] && su nobody -s /bin/sh -c "/usr/bin/opentracker -f /etc/opentracker/config&" - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon opentracker - stat_done - fi - ;; - stop) - stat_busy "Stopping opentracker Daemon" - [ ! -z "$PID" ] && kill $PID &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon opentracker - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac diff --git a/pcr/opentracker/opentracker.service b/pcr/opentracker/opentracker.service deleted file mode 100644 index 5f1b887ea..000000000 --- a/pcr/opentracker/opentracker.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=OpenTracker Daemon -After=network.target - -[Service] -User=nobody -ExecStart=/usr/bin/opentracker -f /etc/opentracker/config -ExecStop=/bin/kill -INT $MAINPID - -[Install] -WantedBy=multi-user.target |