aboutsummaryrefslogtreecommitdiffstats
path: root/community/influxdb/influxdb.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/influxdb/influxdb.initd')
-rw-r--r--community/influxdb/influxdb.initd8
1 files changed, 4 insertions, 4 deletions
diff --git a/community/influxdb/influxdb.initd b/community/influxdb/influxdb.initd
index 491e97d308..ad9b351003 100644
--- a/community/influxdb/influxdb.initd
+++ b/community/influxdb/influxdb.initd
@@ -1,10 +1,10 @@
#!/sbin/openrc-run
-pidfile=/run/influxdb.pid
-start_stop_daemon_args="--user influxdb --stderr /var/log/influxdb/influxdb.log"
+pidfile=/run/$RC_SVCNAME.pid
command=/usr/sbin/influxd
-command_args="${EXTRA_OPTS}"
+command_args="${INFLUXDB_OPTS}"
command_background="yes"
+command_user=influxdb:influxdb
depend() {
need net
@@ -12,5 +12,5 @@ depend() {
}
start_pre() {
- checkpath -d -o influxdb:influxdb -m755 /var/lib/influxdb /var/log/influxdb
+ checkpath -d -o influxdb:influxdb -m755 /var/lib/influxdb
}