aboutsummaryrefslogtreecommitdiffstats
path: root/community/influxdb/influxdb.initd
diff options
context:
space:
mode:
authorKonstantin Kulikov <k.kulikov2@gmail.com>2019-08-03 07:04:47 +0000
committerLeo <thinkabit.ukim@gmail.com>2019-08-23 11:24:13 -0300
commit8e25622753b00d50e4459da28b522e8fd3d2c28c (patch)
treec83a53a7debaa4bc3b36527a173acd043478401b /community/influxdb/influxdb.initd
parent2670b3694272eeee4aacac5aecedd658190c551a (diff)
downloadaports-8e25622753b00d50e4459da28b522e8fd3d2c28c.tar.gz
aports-8e25622753b00d50e4459da28b522e8fd3d2c28c.tar.bz2
aports-8e25622753b00d50e4459da28b522e8fd3d2c28c.tar.xz
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
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
}