mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
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
16 lines
279 B
Text
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
|
|
}
|