diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-04 20:40:54 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-04 20:40:54 +0100 |
commit | 4f33558165f1bcf1a3a7278d557f58b543350ca4 (patch) | |
tree | d5e9917e0fa42165bc7ab89f6f11165152fbaf2f | |
parent | a226edc3c6b2a7feb62aa39abc38bcda4e18770a (diff) |
define scripts installation directory
-rw-r--r-- | bin/updater/Makefile | 2 | ||||
-rwxr-xr-x | bin/updater/sysvinit/owncloud-news-updater | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/updater/Makefile b/bin/updater/Makefile index 12bcf7357..586ceb297 100644 --- a/bin/updater/Makefile +++ b/bin/updater/Makefile @@ -19,7 +19,7 @@ update: clean preinitsetup: clean mkdir -p /etc/owncloud/news cp $(CURDIR)/example-config.ini /etc/owncloud/news/updater.ini - python3 setup.py install + python3 setup.py install --install-scripts=/usr/bin install-systemd: preinitsetup diff --git a/bin/updater/sysvinit/owncloud-news-updater b/bin/updater/sysvinit/owncloud-news-updater index b3f58c01c..746767b52 100755 --- a/bin/updater/sysvinit/owncloud-news-updater +++ b/bin/updater/sysvinit/owncloud-news-updater @@ -11,7 +11,7 @@ ### END INIT INFO # Change the next 3 lines to suit where you install your script and what you want to call it -DAEMON=/usr/local/bin/owncloud-news-updater +DAEMON=/usr/bin/owncloud-news-updater DAEMON_NAME=owncloud-news-updater # Add any command line options for your Update Script here. I suggest loading an config file which holds user, pass etc. |