summaryrefslogtreecommitdiff
path: root/extra/oxidized.service
blob: e47460860315c7d6cd65e86a8e73ee4a89687690 (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=SIGINT

[Install]
WantedBy=multi-user.target