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? 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. Link to comment Share on other sites More sharing options...
Predator Posted October 29, 2019 Share Posted October 29, 2019 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.