linux-callhome/callhome.service

14 lines
271 B
Desktop File

[Unit]
Description=Call Home
After=network.target
[Service]
ExecStartPre=/bin/mkdir -p /run/callhome
ExecStart=/usr/local/sbin/callhome.sh
Type=simple
PIDFile=/run/callhome/callhome.pid
Restart=on-failure
RestartPreventExitStatus=0 255
[Install]
WantedBy=default.target