Restart Policies in systemd
A service crashes now and then and must come back automatically. What do you add to its unit's [Service] section?
[Service]
Choose one answer
WantedBy=multi-user.target
Type=oneshot
Restart=on-failure
RemainAfterExit=yes with Type=simple
RemainAfterExit=yes
Type=simple