You are not logged in.
Today I installed the cloudflared package to replace the now-deleted cloudflared-bin package.
Now, I am unable to start cloudflared using systemctl:
$ sudo systemctl start cloudflared.service
Failed to start cloudflared.service: Unit cloudflared.service not found.
However, the service does exist on my system here:
/etc/systemd/system/multi-user.target.wants/cloudflared@cloudflared.service
I also tried "cloudflared@cloudflared.service," but that doesn't work either.
Would someone let me know how to help systemctl find the service?
I can start cloudflared from the commandline, which is how it's running now, but it would be best to have systemctl start it automatically.
Thank you!
Last edited by steadybright (2022-09-24 16:00:52)
Offline
However, the service does exist on my system here:
/etc/systemd/system/multi-user.target.wants/cloudflared@cloudflared.service
I suspect that is a (broken) symlink which points to a file that was provided by cloudflared-bin, but not cloudflared. The repo package does not provide any service files.
You could manually install the service file previously provided by the bin package (files available here: (https://aur.archlinux.org/cgit/aur.git/ … flared-bin), or you could open a feature request against the new package on the bug tracker to have this service file provided by the package.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thank you WorMzy!
That is exactly what happened. I found a copy of the service file left behind by cloudflared-bin. I copied that file to the expected location and I'm back in business. I will submit a feature request for this.
Thank you so much for you help!
sb
Last edited by steadybright (2022-09-24 16:01:06)
Offline