aboutsummaryrefslogtreecommitdiff
path: root/apks/reddit-nextcloud-importer/reddit-nextcloud-importer.initd
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-10-16 21:41:00 +0000
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-10-16 21:41:00 +0000
commit595e07ac484ea0beb0066e7e2ad74f4137083748 (patch)
treed0398e2cafa1a5c97fe084594fab63987ea1decf /apks/reddit-nextcloud-importer/reddit-nextcloud-importer.initd
parent1f3d49e8a3c5479a19c68c5dedf852b463b54301 (diff)
downloadapkbuilds-595e07ac484ea0beb0066e7e2ad74f4137083748.tar.gz
apkbuilds-595e07ac484ea0beb0066e7e2ad74f4137083748.tar.bz2
apkbuilds-595e07ac484ea0beb0066e7e2ad74f4137083748.zip
fix: Update service to support extended service
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