From 4f33558165f1bcf1a3a7278d557f58b543350ca4 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 4 Dec 2014 20:40:54 +0100 Subject: define scripts installation directory --- bin/updater/Makefile | 2 +- bin/updater/sysvinit/owncloud-news-updater | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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. -- cgit v1.2.3