I have the following service:
#!/usr/bin/env openrc-run
command_user=hell:hell
directory=/app
command=/usr/bin/python3
command_args=bot.py
command_background=yes
pidfile=/run/$RC_SVCNAME/$RC_SVCNAME.pid
export JISHAKU_NO_DM_TRACEBACK=1
export SHELL=$(which sh)
depend() {
need net
}
start_pre() {
checkpath \
--directory \
--owner $command_user \
--mode 0755 \
/run/$RC_SVCNAME
}
rc-update reports that networking is configured to run at boot.
rc-service networking reports that networking is started.
/etc/init.d/networking indicates that it provides net in depend(). yet
my service does not start at boot. why is that?