diff options
Diffstat (limited to 'extra/oxidized.service')
-rw-r--r-- | extra/oxidized.service | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/oxidized.service b/extra/oxidized.service index 99b5da3..e474608 100644 --- a/extra/oxidized.service +++ b/extra/oxidized.service @@ -1,14 +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 +After=network-online.target multi-user.target +Wants=network-online.target [Service] ExecStart=/usr/local/bin/oxidized User=oxidized +KillSignal=SIGINT [Install] WantedBy=multi-user.target |