diff --git a/autossh-hugvey.service b/autossh-hugvey.service index 6f90adb..51bd33e 100644 --- a/autossh-hugvey.service +++ b/autossh-hugvey.service @@ -5,6 +5,7 @@ After=network.target [Service] Environment="AUTOSSH_GATETIME=0" ExecStart=/usr/bin/autossh -M 0 -N -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -R 6666:localhost:22 hugvey@rubenvandeven.com +User=hugvey [Install] WantedBy=multi-user.target