Confused about dietpi-process_tool

I’m trying to:

  • only start openvpn client at boot
  • disable openvpn server at boot

Seems easy, but I’m keeping tripped up on a few things.

First, dietpi-process_tool (what is it’s purpose?), I can’t remove OpenVPN Server.

systemctl | ag 'openvpn'

openvpn.service            loaded active exited    OpenVPN service
openvpn@server.service     loaded active running   OpenVPN connection to server
system-openvpn.slice       loaded active active    system-openvpn.slice

Also, after I boot, I see two processes:

ps aux | ag ‘openvpn’
nobody 958 0.0 0.0 5800 1104 ? Ss 13:13 0:00 /usr/sbin/openvpn --daemon ovpn-server --status /run/openvpn/server.status 10 --cd /etc/openvpn --config /etc/openvpn/server.conf
root 1697 0.0 0.1 6088 2544 ? Ss 13:13 0:00 /usr/sbin/openvpn --daemon --auth-nocache --config /root/.vpn_conf/pia.ovpn

I’m really confused about how to control which items boot on startup and which tools I should use to disable / enable them. Could I get some links or pointers to getting help with this?


DietPi-Services takes control of services. Here is a list of all services this applies to (if installed):

DietPi-Services will start the above services (if installed) during boot, and restart them as needed in other DietPi programs.

If you want to prevent DietPi from starting these services, simply remove the entry from the source code, located in:
NB: If you update DietPi, your changes will be lost due to script update.


Then disable openvpn:

systemctl disable openvpn