summarylogtreecommitdiffstats
path: root/osqueryd.service
diff options
context:
space:
mode:
authorTony Lambiris2016-07-17 21:39:00 -0400
committerTony Lambiris2016-07-17 21:39:00 -0400
commit45c888a20b84796ecb6ee7f94a0552d997ee3531 (patch)
tree4ba1dc95ed9d452760284bbe11e09402adefd89e /osqueryd.service
parent437de54e0584fd04cdfe5f3eb2ccd40b195758b1 (diff)
downloadaur-45c888a20b84796ecb6ee7f94a0552d997ee3531.tar.gz
Add python deps, streamline compilation
Diffstat (limited to 'osqueryd.service')
-rw-r--r--osqueryd.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/osqueryd.service b/osqueryd.service
index b30cf6ae9a29..29cedf8206f6 100644
--- a/osqueryd.service
+++ b/osqueryd.service
@@ -5,10 +5,11 @@ After=network.service syslog.service
[Service]
TimeoutStartSec=0
ExecStart=/usr/bin/osqueryd --config_path /etc/osquery/osquery.conf
-Restart=on-abort
+Restart=on-failure
KillMode=process
KillSignal=SIGTERM
-SendSIGKILL=yes
+SuccessExitStatus=143
+PIDFile=/var/osquery/osqueryd.pidfile
[Install]
WantedBy=multi-user.target