summarylogtreecommitdiffstats
path: root/osqueryd.service
diff options
context:
space:
mode:
authorTony Lambiris2017-08-07 18:05:38 -0400
committerTony Lambiris2017-08-07 18:05:38 -0400
commitffd0b4e5aa1f2f4810fd035ef01b089f1e39df00 (patch)
treeeb4ce1929875dff0dc71fd34a312cfa5c0a85e63 /osqueryd.service
parent6d13189294cf97d7e0231ddc6fd4bca3dd56f0cf (diff)
downloadaur-ffd0b4e5aa1f2f4810fd035ef01b089f1e39df00.tar.gz
Version bump, sync files with upstream
Diffstat (limited to 'osqueryd.service')
-rw-r--r--osqueryd.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/osqueryd.service b/osqueryd.service
index 5258f6d199c1..4c4cbeaba791 100644
--- a/osqueryd.service
+++ b/osqueryd.service
@@ -6,6 +6,7 @@ After=network.service syslog.service
TimeoutStartSec=0
EnvironmentFile=/etc/conf.d/osqueryd
ExecStartPre=/bin/sh -c "if [ ! -f $FLAG_FILE ]; then touch $FLAG_FILE; fi"
+ExecStartPre=/bin/sh -c "if [ -f $OLD_PIDFILE ]; then mv $OLD_PIDFILE $PIDFILE; fi"
ExecStart=/usr/bin/osqueryd \
--flagfile $FLAG_FILE \
--config_path $CONFIG_FILE