Pending Review

On systemd systems, generate a service unit file and use restart option to ensure service is recovered from crash

Alex Heylin 2 years ago updated 1 year ago 4

On Linux systems running systemd currently no unit file is generated for the guest service thus if the service crashes the init system will not restart it.  This is simple to do, and offers a simple way to automate service recovery which is important given ScreenConnect (Control if you must) might be the only way to access that system.

Also, the service is not started automatically after install via .sh file and it should be.  No one installs ScreenConnect and doesn't want it running.

Available in Version:

any systemd support would assist in installations that are systemd exclusive as well (eg: arch derivatives) 


Given I had to chase on another FR I opened five years ago for CW Automate to properly generate a service file for its agent - I don't think CW know what a service file is... I even supplied the fix in that FR and it's still not been done. 

Yeah I wish some of this could just be delivered as source. I get why the don't want to do that but at the same time the community would build all the tools required as you've shown through your previous FR contribution. It's just annoying having a few one off systems that I have to use alternative tools for. That said I've not been thrilled with the linux support given to control since acquisition. It's pretty apparent it's becoming a windows only product but I can hope to be proven wrong.


I absolutely agree - even if only some code was accessible to some "trusted" partners.   This weekend I started a trial of a new commercial system and found three enhancements I could make to their docs - so I cloned their docs repo, forked, added the enhancements and sent a PR. Four hours after I found the issue it was merged into their main branch and live on their site. That's how collaborative software development works well. If an organisation is daft enough to think all the expert knowledge and ideas about their product come from their staff (who usually don't use it) then