I want to run start a systemd service at boot.
For this reason I issued the following commands:
sudo systemctl enable myservice@myconffile
sudo systemctl start myservice@myconffile
Those command made the systemd service openvpn-client run at boot time on Ubuntu.
But the service doesn’t appear to run at boot on Fedora.
How to run a systemd service at boot time?
Fundamentally that is how you do it.
However, that requires
myservice@.service to have the correct format and be at a valid location. Can we see the contents of that file?
Check the output:
systemd-analyze verify myservice@myconffile
journalctl --no-pager -b -u myservice@myconffile