summaryrefslogtreecommitdiffstats
path: root/system/netdata.service.v235.in
diff options
context:
space:
mode:
Diffstat (limited to 'system/netdata.service.v235.in')
-rw-r--r--system/netdata.service.v235.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/netdata.service.v235.in b/system/netdata.service.v235.in
index dfdf88b6..e3232056 100644
--- a/system/netdata.service.v235.in
+++ b/system/netdata.service.v235.in
@@ -7,7 +7,7 @@ After=network.target httpd.service squid.service nfs-server.service mysqld.servi
[Service]
Type=simple
-User=netdata
+User=@netdata_user_POST@
Group=netdata
RuntimeDirectory=netdata
CacheDirectory=netdata
@@ -18,7 +18,7 @@ StateDirectoryMode=0755
CacheDirectoryMode=0755
LogsDirectoryMode=2750
EnvironmentFile=-/etc/default/netdata
-ExecStart=/usr/sbin/netdata -D $EXTRA_OPTS
+ExecStart=@sbindir_POST@/netdata -D $EXTRA_OPTS
# saving a big db on slow disks may need some time
TimeoutStopSec=150