Magellan Linux

Annotation of /trunk/openssh/ssh-keygen-rsa.service

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2363 - (hide annotations) (download)
Thu Jan 2 10:31:07 2014 UTC (10 years, 4 months ago) by niro
File size: 254 byte(s)
-let sshd.service start all required dependencies automatically and changed keygen services to be static services
1 niro 1341 [Unit]
2     Description=SSH RSA Keygeneration.
3     After=syslog.target
4     Before=sshd.service
5     ConditionPathExists=!/etc/ssh/ssh_host_rsa_key
6    
7     [Service]
8     Type=oneshot
9     ExecStart=/usr/bin/ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -C '' -N ''
10     RemainAfterExit=yes