Magellan Linux

Diff of /trunk/openssh/sshd.service

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1341 by niro, Thu Jun 2 20:31:54 2011 UTC revision 2215 by niro, Mon Jun 24 11:26:12 2013 UTC
# Line 3  Description=OpenSSH Server Daemon. Line 3  Description=OpenSSH Server Daemon.
3  After=syslog.target network.target  After=syslog.target network.target
4    
5  [Service]  [Service]
 Type=forking  
6  PIDFile=/var/run/sshd.pid  PIDFile=/var/run/sshd.pid
7  # test ssh setup  # test ssh setup
8  ExecStartPre=/usr/sbin/sshd -t  ExecStartPre=/usr/sbin/sshd -t
9  ExecStart=/usr/sbin/sshd  ExecStart=/usr/sbin/sshd -D
10    ExecReload=/bin/kill -HUP $MAINPID
11    KillMode=process
12    Restart=always
13    
14  [Install]  [Install]
15  WantedBy=multi-user.target  WantedBy=multi-user.target

Legend:
Removed from v.1341  
changed lines
  Added in v.2215