Ask Ubuntu Asked on December 5, 2021
I am currently trying to install Syncthing and have it start automatically.
I am following the guide Starting Syncthing Automatically – Using systemd.
I have a file called "[email protected]" saved at /etc/systemd/system. So basically I am trying to achieve autostart by using systemd.
The command to enable it is:
systemctl enable [email protected]
But this gives me the error:
sudo: systemctl: command not found
From what I know since 15.04 systemd is the replacement for upstart. But why is systemctl
missing? Can I just install it and hope for the best?
Are you sure systemd is installed? It should provide systemctl:
$ dpkg-query -S /bin/systemctl
systemd: /bin/systemctl
You could also try the full path: sudo /bin/systemctl enable [email protected]
I'm on 16.04 LTS, which definitely requires systemd, so upgrading might be an idea if you haven't already …
Answered by unhammer on December 5, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP