Duvy Posted May 9, 2013 Share Posted May 9, 2013 I created scripts for starting, and stopping the services, to open, and close ports automatically. I have an issue, when the service is exiting with error, for eg, the user uploaded bad mod, or bad config, or something like that, the starting script runs, but the stopping never runs, and that creates realy much entries in the iptables. I dropped the idea, to run the scripts on create/delete, becouse in case of reboot, or something, the firewall rules wouldn't set up properly. Can you suggest a way, to solve this? And another thing i observed, is the scripts sometimes just refuse to run, I restart the tcadmin, and the same script runs well, on the same action. (That was on the mono, with high cpu usage, now with the newly compiled, i didnt have the time, to look after it). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now