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