~alpine/users

Service that `need`s net is not starting even though networking is

Details
Message ID
<45db16a7-4d21-b70b-be9e-27d39f632bb3@paperboats.net>
DKIM signature
missing
Download raw message
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?
Reply to thread Export thread (mbox)