aboutsummaryrefslogtreecommitdiff
path: root/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.initd
diff options
context:
space:
mode:
Diffstat (limited to 'apks/reddit-nextcloud-importer/reddit-nextcloud-importer.initd')
-rw-r--r--apks/reddit-nextcloud-importer/reddit-nextcloud-importer.initd4
1 files changed, 3 insertions, 1 deletions
diff --git a/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.initd b/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.initd
index 0f37c10..7b48eeb 100644
--- a/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.initd
+++ b/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.initd
@@ -7,7 +7,9 @@ command_args=" -c ${client_id} -s ${client_secret} -u ${reddit_username} -p ${re
command_background="yes"
supervise_daemon_args="--user www-data:www-data"
-pidfile="/run/$name.pid"
+pidfile="/run/$RC_SVCNAME.pid"
+output_log="$logfile"
+error_log="$logfile"
depend() {
use net