On Fri, May 1, 2015 at 6:15 PM, Robert Munteanu
On Sat, May 2, 2015 at 12:56 AM, Greg Freemyer
wrote: On Fri, May 1, 2015 at 5:00 PM, Robert Munteanu
wrote: On Fri, May 1, 2015 at 8:42 PM, Greg Freemyer
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?
IMO it's simpler and less error-prone to edit a config file than a systemd unit file.
Robert
If I was expert enough with ssh tunnels in a systemd environment to feel I could cover all the bases in a config file I would agree with you. Unfortunately, I still feel like I'm stumbling through this and since I'm not the autossh maintainer in the first place, I'll stick to the override feature and the maintainer can clean it up if they get the urge. Greg -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org