#!/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/$name.pid" depend() { use net }