jcpolo Posted October 22, 2019 Share Posted October 22, 2019 I remember playing with this when it first came out and we decided to not use it going forward because there was no way to get c2 to run as a service or after a reboot of the machine. Has that been remedied? Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted October 24, 2019 Share Posted October 24, 2019 What do you mean "no way to get C2 to run as a service"? It's no different than any other executable. Setting it to run as a service will depend on your OS. On Windows you probably want to use sc.exe On Linux you've got a variety of options, be it rc.local, crontab, init.d, systemctl - it really just depends on your environment. I'm sure there's a similar option for MacOS – but I've never used it as a server. Quote Link to comment Share on other sites More sharing options...
Predator Posted October 29, 2019 Share Posted October 29, 2019 (edited) On 10/22/2019 at 11:48 PM, jcpolo said: I remember playing with this when it first came out and we decided to not use it going forward because there was no way to get c2 to run as a service or after a reboot of the machine. Has that been remedied? I use immortal from https://immortal.run/ Make an immortaldir script and your service will never die and is autostarted when the server comes online. Edited October 29, 2019 by Predator Spelling like a donkey 😁 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.