Replies: 1 comment
-
SOLVED! ETC dir has a script called inittab that launches a script in init called rcS which in turns runs all the scripts designagted with an S prefix in the init.d script folder. I just had to alter my script to match that format, and wham it was running. Another problem I ran into, was that my script was running prior from shoehorning the script into other scripts, but I didn't have the proper certifications on that run level or whatever. I had to add my cloudflared certification jsons and pems manually, and point to it in my run-time script. But now it launches my cloudflared tunnels on startup, and I have it on the same domain as my other printers! |
Beta Was this translation helpful? Give feedback.
-
I tried making a init.d script to launch my cloudflared service to host my fluid online. However the script refuses to run by itself on launch. I've tried shoehorning the script like this "sudo /etc/init.d/cloudflared-tunnels start", in other init.d files, but for some reason this script will not run on startup. It will work if I run it manually however.
Anyone have any ideas to accomplish running a script at startup. I can't install the cloudflared service, because the linux this runs on doesn't have systemd and pretty much everything else seemingly that can get scripts to run on startup.
Beta Was this translation helpful? Give feedback.
All reactions