summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Fesler <jfesler@vm1.test-ipv6.com>2016-06-23 07:04:49 -0700
committerJason Fesler <jfesler@vm1.test-ipv6.com>2016-06-23 07:04:49 -0700
commitbc3218c9e1ee1ea44e53347271338ed5b36c2997 (patch)
tree43d4ec5aefa753693840301dc03d2f11d575b0e4
parent5befc51198fd78dffdb8887c964d94909167befd (diff)
downloadmtu1280d-bc3218c9e1ee1ea44e53347271338ed5b36c2997.tar.gz
mtu1280d-bc3218c9e1ee1ea44e53347271338ed5b36c2997.zip
Automatically restart if mtu1280d dies
-rw-r--r--systemd/mtu1280d.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd/mtu1280d.service b/systemd/mtu1280d.service
index 86251ac..98e0210 100644
--- a/systemd/mtu1280d.service
+++ b/systemd/mtu1280d.service
@@ -4,6 +4,8 @@ Description=falliny-sky mtu1280 emulator
[Service]
User=root
ExecStart=/usr/sbin/mtu1280d
+Restart=always
+RestartSec=3
[Install]
WantedBy=multi-user.target