diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-14 07:09:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-14 07:09:51 +0000 |
commit | 9f732c02548dee0e47ea1d6a004f63debe48d03a (patch) | |
tree | 5c3ff094237aed459a232b3ae0e0b2cf0479c088 /main/aports-build/aports-build.initd | |
parent | 56b3381ebbf1e988e2cabdf2704b3d7f40f2270a (diff) | |
download | aports-9f732c02548dee0e47ea1d6a004f63debe48d03a.tar.bz2 aports-9f732c02548dee0e47ea1d6a004f63debe48d03a.tar.xz |
main/aports-build: depend on network
Diffstat (limited to 'main/aports-build/aports-build.initd')
-rw-r--r-- | main/aports-build/aports-build.initd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/aports-build/aports-build.initd b/main/aports-build/aports-build.initd index bb849af54c..cf7852edb6 100644 --- a/main/aports-build/aports-build.initd +++ b/main/aports-build/aports-build.initd @@ -9,6 +9,10 @@ pidfile=/var/run/aports-build/mqtt-exec.pid command_args="-h ${mqtt_broker:-msg.alpinelinux.org} -t $mqtt_topic -- /usr/bin/aports-build" start_stop_daemon_args="--stdout /dev/null --stderr /dev/null --background --make-pid --user buildozer" +depend() { + need net +} + start_pre() { local h=$(getent passwd buildozer | cut -d: -f6) checkpath --owner buildozer --directory ${pidfile%/*} |