PowerShell / Modules

MIT License
111 stars 25 forks source link

Microsoft.PowerShell.RemotingTools: Enable-SSHRemoting fix Linux service status #61

Closed PaulHigin closed 4 years ago

PaulHigin commented 4 years ago

This PR changes Linux service status check to use: /usr/sbin/service instead of systemctl to check daemon service status. The old way only works with systemd init whereas service will work for both systemd and sysvinit.