Jump to content

Scripts


Duvy

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 22 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use