diff options
author | Tony Lambiris | 2017-08-07 18:05:38 -0400 |
---|---|---|
committer | Tony Lambiris | 2017-08-07 18:05:38 -0400 |
commit | ffd0b4e5aa1f2f4810fd035ef01b089f1e39df00 (patch) | |
tree | eb4ce1929875dff0dc71fd34a312cfa5c0a85e63 /osqueryd.service | |
parent | 6d13189294cf97d7e0231ddc6fd4bca3dd56f0cf (diff) | |
download | aur-ffd0b4e5aa1f2f4810fd035ef01b089f1e39df00.tar.gz |
Version bump, sync files with upstream
Diffstat (limited to 'osqueryd.service')
-rw-r--r-- | osqueryd.service | 1 |
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 |