Closed haosmos closed 2 years ago
The service is named ssh.service
(no D). Your start and enable commands are failing because you used the wrong name.
Hi, did this solve your problem?
Hi, did this solve your problem?
I apologize for the long response. Yes, thank you very much! ✌️
I apologize if my question is not related to your wonderful script.
I installed your script and everything seems to work fine (there is one nuance, I asked this question in a separate post).
But shouldn't it be that when I run the command:
systemctl disable
then afterwards I should also be able to make the unit available again by running the command
systemctl enable?
In my case, when I execute the command systemctl disable, then after that I can not reactivate the unit.
Or is this expected behavior of systemd and cannot be changed?