В Fri, 1 May 2015 16:14:38 -0400
Greg Freemyer
On Fri, May 1, 2015 at 3:49 PM, Andrei Borzenkov
wrote: В Fri, 1 May 2015 19:57:52 +0200 (CEST) Jan Engelhardt
пишет: On Friday 2015-05-01 19:42, Greg Freemyer wrote:
It has a service file that is designed to be installed immediately via zypper and then manually edited. That works until you re-install the package, at which point it replaces my edits with the virgin service file.
Your edits belong into /etc/systemd/system/autossh.service.d/my.conf
[Service] ExecStart=newcommandline
It probably should be
ExecStart= ExecStart=new command line
otherwise it will be added in addition to existing command line.
Thank you, I was getting syntax errors with the other way.
Yes; only one ExecStart is allowed unless service is oneshot, but when parsing it systemd does not know yet what service type it has. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org