39 Commits

Author SHA1 Message Date
David Stark
89836be1d1 added touch and chown to the $PID_FILE 2015-01-12 17:37:26 +01:00
Roy Kokkelkoren
0766a27a71 Fixed bug in init.d script which prevented the writing of the PID file.
Altered default value of DATA_DIR to /var/opt/couchpotato in order to comply to linux file structure
2014-11-06 04:40:39 -06:00
Ruud
42d728f71e Update ubuntu start script
closes #3846
2014-08-27 19:40:28 +02:00
Ruud
7950c4bdb4 Update fedora service init 2014-06-11 09:34:06 +02:00
jchristi
31a1af43d5 Update fedora init file
This took me awhile to figure out when trying to install for the first time. Luckily, I had the sickbeard init file to reference.
2013-11-22 01:28:14 +01:00
Einar Tryggvi Leifsson
400643cbcd Make ubuntu init script executable so it can be symlinked to /etc/init.d 2013-10-14 20:27:21 +00:00
Kevin Carter
6dbdd4c0be Load lsb init-functions so that status_of_proc is available 2013-10-13 12:50:28 +02:00
Ruud
a1d2276668 Match variable name in ubuntu init. fix #2149 2013-09-12 11:07:49 +02:00
Ruud
e013e38c5e Update ubuntu.init
Thanks @moriame
2013-08-24 14:26:16 +02:00
Ruud
267ecfacab Status check in ubuntu init script
Thanks @LeonB
2013-06-14 08:57:37 +02:00
Ruud
f0e7795b9b Ubuntu init script /etc/default 2013-03-15 14:33:34 +01:00
dfiore1230
bba18d8bc9 added the ability to source /etc/default/couchpotato file
added the ability to source /etc/default/couchpotato file by testing for file existence and source when available

added lines 39 - 45
2013-03-15 13:58:33 +01:00
Ruud Burger
ed068f09b0 Only chown PID file 2013-03-12 10:40:20 +01:00
Ruud Burger
5e852d05ee Only remove PID file 2013-03-12 08:29:29 +01:00
Ruud Burger
d111393bd6 Remove PID path 2013-03-12 08:21:23 +01:00
Ruud
05bcee12ae No need for folder for pid file 2013-02-24 00:17:57 +01:00
Ruud
af0cf523e3 Fedora init script. closes #1399 2013-02-12 22:56:02 +01:00
ikkemaniac
9bd5688fb9 Remove services that are not required for couchpotato to run 2013-01-06 22:35:35 +01:00
ikkemaniac
1993c2b6cb Redo FreeBSD init script completely.
Use rc.subr functions and proper rc.conf variables.
2013-01-06 22:35:35 +01:00
ikkemaniac
acc8ed2092 Acutally use config_file variable 2013-01-06 22:35:35 +01:00
ikkemaniac
7b4924dd7a Don't influence the PATH variable in FreeBSD rc script
Don't prepend the PATH variable, it's ugly, unwanted and unnecessary. Call binaries with their full path.
2013-01-06 22:35:35 +01:00
ikkemaniac
3a2861f72a fix FreeBSD init script
-add actual start command
-fix verify_couchpotato_pid function, 'ps' command failed if PID var was empty
-fix verify_couchpotato_pid usage, acutally use the return of verify_couchpotato_pid in the 'stop' routine
2013-01-06 22:35:35 +01:00
Sander Boele
6b8bca5491 added path to the freebsd init script 2012-12-30 20:51:24 +01:00
spion06
7fa08ef9b6 Update init/freebsd to not use perl
When using couchpotato on slimmed down versions of freebsd (freenas for example) sometimes perl is not available. Since the previous parsing of the INI required a "key = value" format it is pretty simple to use awk for this.
2012-12-29 19:24:12 +01:00
iamnos
3aabcbf8f1 Update init/fedora
The config file should be read after the defaults are set, or the options set in the config file are never used.
2012-11-30 21:53:35 +01:00
Ruud
f333d85907 Added initscript for ffpstick closes #992
Thanks to @MariusRugan
2012-11-02 18:41:10 +01:00
Ruud
3ec2df5780 Fedora init fix #1009 2012-11-02 18:37:42 +01:00
Ruud
7c687d4d6b Fedora wrong pidfile arg 2012-07-14 17:31:29 +02:00
Ruud
a37467e3b5 Fedora startup script. close #506 2012-06-28 23:23:25 +02:00
Ruud
3790b04de4 FreeBSD init
commit 0bd182ebb5d9da183d7d3950c77418cf02dd8706
Merge: 5fac3d7 dadbd0f
Author: Ruud <ruud@crashdummy.nl>
Date:   Thu May 31 20:21:17 2012 +0200

    Merge branch 'master' of https://github.com/jallakim/CouchPotatoServer into jallakim-master

    Conflicts:
    	init/freebsd

commit 5fac3d708d
Merge: 0ba2e57 95e5282
Author: Ruud <ruud@crashdummy.nl>
Date:   Thu May 31 19:30:18 2012 +0200

    Merge branch 'refs/heads/develop'

commit dadbd0f1fd61fe6c8a233b823bbf4ed29a9032f0
Author: Joachim Tingvold <joachim@tingvold.com>
Date:   Wed May 30 22:35:27 2012 +0200

    Useless Use of Cat Award (-:

commit 9fe11355a9671a1f38a6b982b50034f075c34b8d
Author: Joachim Tingvold <joachim@tingvold.com>
Date:   Wed May 30 22:30:26 2012 +0200

    Ooops. PORT and CPAPI got mixed around in FreeBSD init-script.

commit e39be8970ca0a4365ff15e6d8b3d64864c2bbdc4
Author: Joachim Tingvold <joachim@tingvold.com>
Date:   Wed May 30 22:25:46 2012 +0200

    Cosmetics again.

commit 5cca98db31caaf6ca7032a3d948c4feb6ca30e2e
Author: Joachim Tingvold <joachim@tingvold.com>
Date:   Wed May 30 22:22:54 2012 +0200

    Check that settings.conf exists in FreeBSD init-script

commit d1e98602d8d86200431ff1d109d89853fb6ea243
Author: Joachim Tingvold <joachim@tingvold.com>
Date:   Wed May 30 22:16:47 2012 +0200

    FreeBSD init-script fetches variables from CP's settings.conf

commit 42dbe607cfeca13efc76e6db7c5df4907bf7fc80
Author: Joachim Tingvold <joachim@tingvold.com>
Date:   Wed May 30 16:02:46 2012 +0200

    Should work for all FreeBSD versions now.

commit f0bcf6a0f5c401a1f96f98ef35b82c3e45f05e11
Author: Joachim Tingvold <joachim@tingvold.com>
Date:   Wed May 30 15:17:53 2012 +0200

    Don't 'import sys' before we need it

commit 8e13fcd0d137e304b5c49aaec4397ca58c2ef431
Author: Joachim Tingvold <joachim@tingvold.com>
Date:   Wed May 30 15:09:58 2012 +0200

    Cosmetics! (-:

commit 04af454c0362dcabb1cec06863f1defabf7a3736
Author: Joachim Tingvold <joachim@tingvold.com>
Date:   Wed May 30 15:05:32 2012 +0200

    Added /data/ to .gitignore

    Used as data-dir if CouchPotato is installed on FreeBSD.

commit 055d47d7b4a9401fcab1e4cdb319c3e95a91e1ca
Author: Joachim Tingvold <joachim@tingvold.com>
Date:   Wed May 30 15:04:36 2012 +0200

    Fixed getDataDir so that it works for FreeBSD9.

    Assumes that '/usr/local/couchpotato/' is where CouchPotato resides.

commit 4859f1b9f23e1d994e7fca24e25bae0226717006
Author: Joachim Tingvold <joachim@tingvold.com>
Date:   Wed May 30 15:03:26 2012 +0200

    Fixed the FreeBSD init-script.

commit 0ba2e579f9
Merge: fdf0d2d a2a3896
Author: Ruud <ruud@crashdummy.nl>
Date:   Sun May 20 23:50:54 2012 +0200

    Merge branch 'master' of github.com:RuudBurger/CouchPotatoServer

commit fdf0d2d5b4
Author: Ruud Burger <ruud@crashdummy.nl>
Date:   Thu Apr 26 10:57:34 2012 +0300

    Use master branch to update master..

commit a2a3896b1f
Merge: 5017b01 19640a9
Author: Ruud <ruud@crashdummy.nl>
Date:   Sun May 20 19:57:05 2012 +0200

    Merge branch 'refs/heads/develop'

commit 5017b01934
Merge: d4a5483 f2f524c
Author: Ruud <ruud@crashdummy.nl>
Date:   Tue May 15 23:23:25 2012 +0200

    Merge branch 'master' of github.com:RuudBurger/CouchPotatoServer

commit d4a5483fa0
Author: Ruud Burger <ruud@crashdummy.nl>
Date:   Thu Apr 26 10:57:34 2012 +0300

    Use master branch to update master..

commit f2f524c4e4
Merge: 577aed3 edbeb02
Author: Ruud <ruud@crashdummy.nl>
Date:   Tue May 15 23:16:12 2012 +0200

    Merge branch 'refs/heads/develop'

commit 577aed3a75
Merge: cb975f6 176f4b0
Author: Ruud <ruud@crashdummy.nl>
Date:   Mon May 14 23:36:53 2012 +0200

    Merge branch 'refs/heads/develop'

commit cb975f6180
Merge: 3e369c5 a71fb1a
Author: Ruud <ruud@crashdummy.nl>
Date:   Mon May 14 20:23:05 2012 +0200

    Merge branch 'refs/heads/develop'

commit 3e369c5838
Merge: d89130d 0847ffd
Author: Ruud <ruud@crashdummy.nl>
Date:   Sun May 13 12:56:37 2012 +0200

    Merge branch 'refs/heads/develop'

commit d89130dc30
Merge: ee5e1d1 c34f392
Author: Ruud <ruud@crashdummy.nl>
Date:   Sat May 12 00:36:03 2012 +0200

    Merge branch 'refs/heads/develop'

commit ee5e1d19d1
Merge: 7d2eb23 b2be9ef
Author: Ruud <ruud@crashdummy.nl>
Date:   Wed May 9 22:19:29 2012 +0200

    Merge branch 'refs/heads/develop'

commit 7d2eb2376f
Merge: 40ff984 ba8fef3
Author: Ruud Burger <ruud@crashdummy.nl>
Date:   Mon May 7 13:35:13 2012 -0700

    Merge pull request #228 from sirchia/twitterDirectMessage

    Added support for direct messages in twitter notifications

commit 40ff984e19
Merge: 1f3e22c 7ca509c
Author: Ruud <ruud@crashdummy.nl>
Date:   Mon May 7 22:26:55 2012 +0200

    Merge branch 'refs/heads/develop'

commit ba8fef3c87
Author: Riccardo Sirchia <sirchia.r@gmail.com>
Date:   Sun May 6 18:02:51 2012 +0200

    Added support for direct messages in twitter notifications

commit 1f3e22c4ed
Merge: 89315cb 74226f0
Author: Ruud <ruud@crashdummy.nl>
Date:   Fri May 4 17:27:36 2012 +0200

    Merge branch 'refs/heads/develop'

commit 89315cb291
Merge: 829b3cf f6de117
Author: Ruud <ruud@crashdummy.nl>
Date:   Fri May 4 17:27:12 2012 +0200

    Merge branch 'refs/heads/develop'

commit 829b3cfb3b
Merge: e3cc15d 1345e98
Author: Ruud <ruud@crashdummy.nl>
Date:   Wed May 2 21:40:01 2012 +0200

    Merge branch 'refs/heads/develop'

commit e3cc15d2b6
Merge: ca87f2c c161bdd
Author: Ruud <ruud@crashdummy.nl>
Date:   Sun Apr 29 00:00:14 2012 +0200

    Merge branch 'refs/heads/develop'

commit ca87f2c231
Merge: e929af7 c7bc0f4
Author: Ruud <ruud@crashdummy.nl>
Date:   Sat Apr 28 23:14:18 2012 +0200

    Merge branch 'refs/heads/develop'

commit e929af76d0
Merge: b22763b d1c2869
Author: Ruud Burger <ruud@crashdummy.nl>
Date:   Fri Apr 27 02:04:35 2012 -0700

    Merge pull request #152 from garlandkr/master

    Removed group setting for init

commit d1c2869f2c
Author: Ken Garland <garlandkr@gmail.com>
Date:   Thu Apr 26 23:30:33 2012 -0300

    Removed RUN_AS for group, don't assume the default group is the same as the username. Specifying group is not needed anyways.

commit b22763b37d
Author: Ruud Burger <ruud@crashdummy.nl>
Date:   Thu Apr 26 10:57:34 2012 +0300

    Use master branch to update master..
2012-05-31 20:24:20 +02:00
Ruud
b2ccca9299 Updated freebsd script 2012-05-28 14:05:27 +02:00
Ruud
aed6e4ab06 Merge pull request #152 from garlandkr/master
Removed group setting for init
2012-04-27 11:07:59 +02:00
Ruud
967aba0f82 Synology init script 2012-04-16 23:51:03 +02:00
Ruud
59c1e49fee Ubuntu working init.d 2012-02-14 21:40:38 +01:00
Ruud
f2988e6d62 Better Ubuntu script 2012-02-13 21:55:50 +01:00
daemox
5dabad3f17 Provides: acts as a name that other scripts can call (simplified).
Required-Start/Stop: $all means it should start last. Having this in multiple scripts (Sick Beard, Couch Potato, etc) can cause a loop. Changed this to match JCFP's SABnzbd+ start-up script.
Should-Start/Stop: Changed this to match JCFP's SABnzbd+ start-up script.
2012-02-07 16:46:18 -08:00
Ruud
5856bdae33 Couchpotato new url 2012-01-22 11:28:09 +01:00
Ruud
36ed61f549 Save data to user dir 2011-11-06 20:22:02 +01:00
Ruud
963c6d2ae0 init scripts 2011-10-01 21:26:29 +02:00