On Fri, May 1, 2015 at 6:03 PM, Cristian Rodríguez
On Fri, May 1, 2015 at 6:56 PM, Greg Freemyer
wrote: On Fri, May 1, 2015 at 5:00 PM, Robert Munteanu
Something like:
ExecStart="/usr/bin/autossh ... &" ExecStart="/usr/bin/autossh ... &" ExecStart="/usr/bin/autossh ..."
nope.. you want instantiated services for that usecase .. http://0pointer.de/blog/projects/instances.html
Thanks This seems to work from my testing: Rename the service file in /lib/... to autossh@.service systemctl enable autossh@ssh.service systemctl enable autossh@http.service mkdir -p /etc/systemd/system/autossh@ssh.service.d mkdir -p /etc/systemd/system/autossh@http.service.d vi /etc/systemd/system/autossh@ssh.service.d/my.conf vi /etc/systemd/system/autossh@http.service.d/my.conf systemctl start autossh@ssh.service systemctl start autossh@http.service I'm writing a README.opensuse for autossh. I'll update it to reflect the above. Thanks again, Greg -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org