I am trying to setup a VPN via this tutorial: https://www.digitalocean.com/community/tutorials/how-to-setup-your-own-vpn-with-pptp
and when I try the command: service pptpd restart it gives me this error:
service: command not found
Anyone that can help?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I actually fixed my problem, You need to run sudo service pptpd restart because I think the service command is only a root command!
This article explains the issue and the solution,
http://www.devdummy.com/2017/10/systemctl-command-not-found.html
/Sameera
That guide was probably written for Ubuntu and since you’re on Debian, you need to do this:
sudo systemctl restart pptpd
So we’re just replace service with systemctl and then moving around in the commands.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.