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