23 lines
559 B
Desktop File
23 lines
559 B
Desktop File
# Put this file in /etc/systemd/system.
|
|
#
|
|
# To set OXIDIZED_HOME instead of the default,
|
|
# ~oxidized/.config/oxidized, uncomment (and modify as required) the
|
|
# "Environment" variable below so systemd sets the correct
|
|
# environment.
|
|
|
|
[Unit]
|
|
Description=Oxidized - Network Device Configuration Backup Tool
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/oxidized --config-file=config
|
|
User=oxidized
|
|
KillSignal=SIGKILL
|
|
Environment="OXIDIZED_HOME=/etc/oxidized"
|
|
RuntimeDirectory=oxidized
|
|
Restart=on-failure
|
|
RestartSec=300s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|