diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-05-08 18:58:36 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-05-08 18:58:43 +0000 |
commit | 11ae2ed9b20cef67fb2437001585d1e901921d32 (patch) | |
tree | 79f991245b05bfc86935c27809cbb2449e9fcf86 /community/influxdb/influxdb.initd | |
parent | 08fb3c070346762cc71103e3ffb6ed9811de9514 (diff) | |
download | aports-11ae2ed9b20cef67fb2437001585d1e901921d32.tar.bz2 aports-11ae2ed9b20cef67fb2437001585d1e901921d32.tar.xz |
testing/influxdb: move to community
Diffstat (limited to 'community/influxdb/influxdb.initd')
-rw-r--r-- | community/influxdb/influxdb.initd | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/community/influxdb/influxdb.initd b/community/influxdb/influxdb.initd new file mode 100644 index 0000000000..491e97d308 --- /dev/null +++ b/community/influxdb/influxdb.initd @@ -0,0 +1,16 @@ +#!/sbin/openrc-run + +pidfile=/run/influxdb.pid +start_stop_daemon_args="--user influxdb --stderr /var/log/influxdb/influxdb.log" +command=/usr/sbin/influxd +command_args="${EXTRA_OPTS}" +command_background="yes" + +depend() { + need net + after firewall +} + +start_pre() { + checkpath -d -o influxdb:influxdb -m755 /var/lib/influxdb /var/log/influxdb +} |