summaryrefslogtreecommitdiff
path: root/extra/oxidized.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/oxidized.service')
-rw-r--r--extra/oxidized.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/oxidized.service b/extra/oxidized.service
index ba60bd5..ce1b1a3 100644
--- a/extra/oxidized.service
+++ b/extra/oxidized.service
@@ -1,12 +1,16 @@
#For debian 8 put it in /lib/systemd/system/
+#For RHEL / CentOS 7 put it in /etc/systemd/system/
#and call it with systemctl start oxidized.service
[Unit]
Description=Oxidized - Network Device Configuration Backup Tool
+After=network-online.target multi-user.target
+Wants=network-online.target
[Service]
ExecStart=/usr/local/bin/oxidized
User=oxidized
+KillSignal=SIGKILL
[Install]
WantedBy=multi-user.target