[systemd-devel] My last post went as unprocessed
My last post went as unprocessed. I checked my membership and it is current ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] My last post went as unprocessed
OK this post went through, so I am replying with the original text that was unprocessed: On my Angstrom distribution the sshd service is controlled by the file /lib/systemd/system/sshd@.service. What is the significance of the @ in the service name? This may be buried in documentation, but is very difficult to search for. My apologies if it is obvious. Best regards, Dave. Sorry for any confusion, but I am confused ;) On 13-07-11 02:46 PM, David Lambert wrote: My last post went as unprocessed. I checked my membership and it is current ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] My last post went as unprocessed
Thanks for your quick reply. I also notice a - preceding the target for ExecStart target. How does this work and where is it documented. Again very difficult to search :-[ Dave. [Unit] Description=OpenSSH Per-Connection Daemon After=sshdgenkeys.service [Service] ExecStart=-/usr/sbin/sshd -i ExecReload=/bin/kill -HUP $MAINPID StandardInput=socket StandardError=syslog On 13-07-11 03:08 PM, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Jul 11, 2013 at 02:58:26PM -0500, David Lambert wrote: On my Angstrom distribution the sshd service is controlled by the file /lib/systemd/system/sshd@.service. What is the significance of the @ in the service name? @ means that it's a template unit. A separate instance of the sshd@.service unit will be created for each connections, called sshd@connection-1-details.service, sshd@connection-2-details.service, etc. Zbyszek This may be buried in documentation, but is very difficult to search for. My apologies if it is obvious. It's described in systemd.unit(5), but not very verbosely. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] My last post went as unprocessed
Am 11.07.2013 22:36, schrieb David Lambert: Thanks for your quick reply. I also notice a - preceding the target for ExecStart target. How does this work and where is it documented. Again very difficult to search :-[ the command is allowed to fail without failing the service it's common for EnvironemntFiles which are used if present and ignored if not in case of sshdgenkeys.service the way to go because the kyes must be generated at the first start but *must not* be overwritten at any later time [Unit] Description=OpenSSH Per-Connection Daemon After=sshdgenkeys.service [Service] ExecStart=-/usr/sbin/sshd -i ExecReload=/bin/kill -HUP $MAINPID StandardInput=socket StandardError=syslog signature.asc Description: OpenPGP digital signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] My last post went as unprocessed
On Thu, Jul 11, 2013 at 10:59:41PM +0200, Reindl Harald wrote: Am 11.07.2013 22:36, schrieb David Lambert: Thanks for your quick reply. I also notice a - preceding the target for ExecStart target. How does this work and where is it documented. Again very difficult to search :-[ See http://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStart= . the command is allowed to fail without failing the service it's common for EnvironemntFiles which are used if present and ignored if not Exactly. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel