IH  Sent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------From: Hongyi Zhao <hongyi.z...@gmail.com> 
Date: 10/5/19  11:05 AM  (GMT-05:00) To: systemd-devel@lists.freedesktop.org 
Subject: [systemd-devel] systemctl stuck when run restart Hi,I installed the 
latest git version of openssh-portable, and make thefollowing ssh.service 
file:$ cat /lib/systemd/system/ssh.service[Unit]Description=OpenBSD Secure 
Shell serverAfter=network.target 
auditd.serviceConditionPathExists=!/usr/local/etc/sshd_not_to_be_run[Service]EnvironmentFile=-/usr/local/etc/default/sshExecStartPre=/usr/local/sbin/sshd
 -tExecStart=/usr/local/sbin/sshd -D $SSHD_OPTSExecReload=/usr/local/sbin/sshd 
-tExecReload=/bin/kill -HUP 
$MAINPIDKillMode=processRestart=on-failureRestartPreventExitStatus=255Type=notify[Install]WantedBy=multi-user.targetAlias=sshd.serviceWith
 the above service file, I will stuck on the following command:$ sudo systemctl 
stop ssh$ sudo systemctl start ssh^Cwerner@localhost:~/software/openssh$ sudo 
systemctl restart ssh^CIf I don't hit ^C, the command will stuck there for 
ever.Any hints?-- Hongsheng Zhao <hongyi.z...@gmail.com>Institute of 
Semiconductors, Chinese Academy of SciencesGnuPG DSA: 
0xD108493_______________________________________________systemd-devel mailing 
listsystemd-devel@lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/systemd-devel
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to