YunoHost-Apps / my_webapp_ynh

Custom Web app with SFTP access
GNU General Public License v3.0
48 stars 39 forks source link

#4 - systemctl reload sshd doesn't work either #8

Closed bencharp closed 7 years ago

bencharp commented 7 years ago

For me, neither service sshd reload norsystemctl reload sshd work. => #4

sudo service sshd reload
sshd: unrecognized service
sudo systemctl reload sshd
Failed to reload sshd.service: Unit sshd.service failed to load: No such file or directory.

Why not use service ssh reload instead => https://wiki.debian.org/fr/SSH#line-352 ?

JimboJoe commented 7 years ago

@bencharp does systemctl reload ssh work on your side? Using systemd syntax would be better, because the service sysVinit syntax will become obsolete at some point.

bencharp commented 7 years ago

@JimboJoe systemctl reload ssh works right on my side. If it's better…