Skip to content

Commit

Permalink
Run EternalTerminal systemd service with Restart=on-failure (#377)
Browse files Browse the repository at this point in the history
With Restart=on-failure, the service will be restarted when the process
exits with a non-zero exit code, is terminated by a signal, when an
operation (such as service reload) times out, and when the configured
watchdog timeout is triggered.

Setting this to on-failure is the recommended choice for long-running
services, in order to increase reliability by attempting automatic
recovery from errors.
  • Loading branch information
koppchen authored Jan 10, 2021
1 parent e88afbf commit 6e3d8cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions systemctl/et.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ After=syslog.target network.target

[Service]
Type=simple
Restart=on-failure
ExecStart=/usr/bin/etserver --cfgfile=/etc/et.cfg

[Install]
Expand Down

0 comments on commit 6e3d8cc

Please sign in to comment.