summarylogtreecommitdiffstats
path: root/influxdb-bin.install
blob: 4f6d3c54c7d9c530ed6fbc3c88d394ca883d7008 (plain)
1
2
3
4
5
6
post_install() {
  groupadd -r influxdb &>/dev/null
  useradd -r -g influxdb -d /var/lib/influxdb -s /bin/false influxdb &>/dev/null

  install -dm700 -o influxdb -g influxdb /var/lib/influxdb
}