You are not logged in.

#1 2022-09-24 15:30:45

steadybright
Member
Registered: 2014-03-11
Posts: 17

RESOLVED - Moved From cloudflared-bin to cloudflared

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

#2 2022-09-24 15:48:08

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: RESOLVED - Moved From cloudflared-bin to cloudflared

steadybright wrote:

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

#3 2022-09-24 16:00:03

steadybright
Member
Registered: 2014-03-11
Posts: 17

Re: RESOLVED - Moved From cloudflared-bin to cloudflared

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

Board footer

Powered by FluxBB