On Fri, May 1, 2015 at 5:00 PM, Robert Munteanu <robert.munteanu@gmail.com> wrote:
On Fri, May 1, 2015 at 8:42 PM, Greg Freemyer <greg.freemyer@gmail.com> wrote:
fyi2: In the sysvinit days there was a separate config file, but whoever converted it to a systemd service file dropped that functionality.
So why not restore that functionality and keep only the unit file from /usr?
[Service] EnvironmentFile=/etc/autossh.conf ExecStart=/usr/bin/autossh -M $PORT ....
Robert
Now that I understand the my.conf override mechanism, what's the advantage? And while I have the systemd brain trust available, what would I do in the service file to allow 2 (or more) simultaneeous tunnels? Something like: ExecStart="/usr/bin/autossh ... &" ExecStart="/usr/bin/autossh ... &" ExecStart="/usr/bin/autossh ..." Thanks Greg -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org