Auto-Starting pptpd on boot

I had this working perfectly with Raspbmc, but I understand that OSMC uses some kind of different process management system (sorry, I don’t know the technical terms).

I’ve installed and configured pptpd via apt-get and it’s working fine when manually started using

/etc/init.d/pptpd start

However, on device reboot, the pptpd service/process does not auto start like it used to on Raspbmc. I’m sure there’s a simple fix but I’m not familiar with the new OSMC way of making this happen.

Can someone please point me in the right direction? I want the pptpd service to start automatically on boot rather than needing to issue the command above to start it each time.

Thanks in advance!

OSMC uses systemd. Try:

sudo systemctl enable pptpd

2 Likes

Worked perfectly - thanks!