#For debian 8 put it in /lib/systemd/system/ #To set OXIDIZED_HOME instead of the default: # ~${oxidized_user}/.config/oxidized in debian 8, then uncomment #(and modify as required) the "Environment" variable below so #systemd sets the correct environment. Tested only on Debian 8.8. #YMMV otherwise. # #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 #Environment="OXIDIZED_HOME=/etc/oxidized" [Install] WantedBy=multi-user.target