Skip to content

Commit

Permalink
Automatically restart systemd service on non-zero exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldaviva committed May 30, 2024
1 parent c548743 commit dacf341
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DryerDuty/dryerduty.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Description=DryerDuty
Type=notify
ExecStart=/opt/dryerduty/DryerDuty
WorkingDirectory=/opt/dryerduty/
Restart=on-failure

[Install]
WantedBy=multi-user.target

0 comments on commit dacf341

Please sign in to comment.