#!/sbin/openrc-run name=gogs conffile="$GOGS_CUSTOM/conf/app.ini" command="/usr/bin/gogs" command_args="web -c $conffile" start_stop_daemon_args="${GOGS_USER:+--user} $GOGS_USER --env GOGS_CUSTOM=$GOGS_CUSTOM" pidfile="/var/run/gogs.pid" command_background="yes" capabilities="^cap_net_bind_service" depend() { use logger dns need net after firewall }