diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-04-19 16:42:26 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-04-19 16:42:34 +0200 |
commit | 59d3088ed11c9cc56303c89739f3ee903dc42a4a (patch) | |
tree | 24f34d8bfafb4c69c0041cdb3b2143771896dcc5 /community/domoticz/domoticz.initd | |
parent | 270e41f60340a746beba1d94f729fb21386f5b1b (diff) | |
download | aports-59d3088ed11c9cc56303c89739f3ee903dc42a4a.tar.bz2 aports-59d3088ed11c9cc56303c89739f3ee903dc42a4a.tar.xz |
community/domoticz: upgrade to 3.4834 and move to community
Diffstat (limited to 'community/domoticz/domoticz.initd')
-rw-r--r-- | community/domoticz/domoticz.initd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/community/domoticz/domoticz.initd b/community/domoticz/domoticz.initd new file mode 100644 index 0000000000..139e3345fd --- /dev/null +++ b/community/domoticz/domoticz.initd @@ -0,0 +1,19 @@ +#!/sbin/openrc-run + +name=domoticz +command=/usr/bin/$name +command_args="-daemon -userdata $userdata -approot $approot -pidfile $pidfile $daemon_args" +command_background=YES +start_stop_daemon_args="--user $user" + +depend() { + use logger dns + need net + after firewall +} + +start_pre() { + checkpath --directory --owner "$user" \ + --mode 0775 /var/run/"$name" +} + |