blob: ce1b1a3281418520793794aa673ec778160ecc89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
|