blob: 7b48eeb64927a7c1fc2c158ea294fcaca1f4cf88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/sbin/openrc-run
supervisor="supervise-daemon"
name="reddit-nextcloud-importer"
command="/usr/bin/reddit-nextcloud-importer"
command_args=" -c ${client_id} -s ${client_secret} -u ${reddit_username} -p ${reddit_password} -P ${nextcloud_password} -U ${nextcloud_username} -o ${nextcloud_host}"
command_background="yes"
supervise_daemon_args="--user www-data:www-data"
pidfile="/run/$RC_SVCNAME.pid"
output_log="$logfile"
error_log="$logfile"
depend() {
use net
}
|