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

Reply via email to