enabled systemd service not starting
It seems i fixed the problem by re enabling the service. I had made many changes to try and fix the file, but when i disabled and re enabled i realised the symlink was in the wrong place.
By disabling and enabling this was fixed. I would recommend to disable and re enable when ever changes are made to the areas concerning targets.
Before i did that i added the wantedby=multi-user.target
.
The commands looked like this:
root@system:~# systemctl disable camtool
Removed /etc/systemd/system/multi-user-target.service.wants/camtool.service.
root@system:~# systemctl enable camtool
Created symlink /etc/systemd/system/multi-user.target.wants/camtool.service → /etc/systemd/system/camtool.service.
Now it boots with the system.