1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/influxdb/influxdb.initd
Konstantin Kulikov 8e25622753 community/influxdb: upgrade to 1.7.7
switch from gdm to dep
remove pkgusers/groups - they're unneeded at build time
enable tests
disable overly verbose build logging
add conf.d
move config to /etc/influxdb.conf
simplify init.d script
2019-08-23 11:24:13 -03:00

16 lines
279 B
Text

#!/sbin/openrc-run
pidfile=/run/$RC_SVCNAME.pid
command=/usr/sbin/influxd
command_args="${INFLUXDB_OPTS}"
command_background="yes"
command_user=influxdb:influxdb
depend() {
need net
after firewall
}
start_pre() {
checkpath -d -o influxdb:influxdb -m755 /var/lib/influxdb
}