Skip to content

Commit

Permalink
Restart systemd service also on unclean exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
Chupaka committed Feb 9, 2023
1 parent 9d20722 commit f3860b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis-go-to-master.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ After=multi-user.target
[Service]
Type=notify
ExecStart=/usr/bin/redis-go-to-master /etc/redis-go-to-master.yaml
Restart=on-abnormal
Restart=on-failure

[Install]
WantedBy=multi-user.target

0 comments on commit f3860b5

Please sign in to comment.