callhome.service 271 B

1234567891011121314
  1. [Unit]
  2. Description=Call Home
  3. After=network.target
  4. [Service]
  5. ExecStartPre=/bin/mkdir -p /run/callhome
  6. ExecStart=/usr/local/sbin/callhome.sh
  7. Type=simple
  8. PIDFile=/run/callhome/callhome.pid
  9. Restart=on-failure
  10. RestartPreventExitStatus=0 255
  11. [Install]
  12. WantedBy=default.target