apkbuilds @ e4390dd34e24ee97145bc3e9f717430db9745da3

 1#!/sbin/openrc-run
 2supervisor="supervise-daemon"
 3
 4name="reddit-nextcloud-importer"
 5command="/usr/bin/python3"
 6command_args="-m reddit-nextcloud-importer -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
 9#output_log="/var/log/$name/$name.log"
10#error_log="/var/log/$name/$name.err"
11supervise_daemon_args="--user www-data:www-data"
12pidfile="/run/$name.pid"
13
14
15depend() {
16	use net
17}
18