My operating system is Ubuntu Bionic beaver.
I have written a systemd serivce unit:
/etc/systemd/user# ll total 20 drwxrw-r-x 2 rock64 rock64 4096 Nov 23 15:06 ./ drwxr-xr-x 5 root root 4096 Nov 20 07:21 ../ -rw-r--r-- 1 rock64 rock64 74 Nov 23 14:30 photon_uploader.env -rwxr-xr-x 1 rock64 rock64 463 Nov 23 14:50 photon_uploader.service* -rw-r--r-- 1 rock64 rock64 175 Nov 23 14:57 photon_uploader.socket
but if I try enabling it I get error:
systemctl enable photon_uploader Failed to enable unit: Unit file photon_uploader.service does not exist.
I couldnt think of where to systematically put the service file , so I put it under user folder, and since I install service from a remote location , I rsync, and I have given the user folder ownership to non-root user. I