Admin/Systemd/Brief
Aller à la navigation
Aller à la recherche
Manage Services with systemctl
Common management
- Start a service
systemctl start myservice.service
- Stop a service
systemctl stop myservice.service
- Add a service to run at boot
systemctl enable myservice.service
Particular management
OpenVPN
client is the name of config file on /etc/openvpn (without extension .conf)
systemctl start openvpn@client.service
Modify daemon configuration
- Edit file <path>/usr/lib/systemd/*/*.service</path>
- Reload system config
systemctl --system daemon-reload