From f3ec309421badc66155f8cfc20c288fc8eb54e61 Mon Sep 17 00:00:00 2001 From: "Philip (a-0)" <@ph:a-0.me> Date: Sun, 7 Aug 2022 23:12:41 +0200 Subject: [PATCH] autossh now always restarts upon any stop event --- templates/local/autossh.service.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/local/autossh.service.j2 b/templates/local/autossh.service.j2 index b15f9a8..6e409c0 100644 --- a/templates/local/autossh.service.j2 +++ b/templates/local/autossh.service.j2 @@ -7,6 +7,7 @@ Type=simple User=autossh Environment="AUTOSSH_GATETIME=0" ExecStart=/usr/bin/autossh -M 0 gateway -N +Restart=always [Install] WantedBy=multi-user.target