Is there any way of executing a console command on the host machine when a specific VZ container is started (and/or stopped)? Something like in the /etc/network/interfaces
where you can specify an on up
and on down
command.
Asked
Active
Viewed 143 times
0

Jers
- 221
- 4
- 14
1 Answers
0
Yes, You can setup the cron on your VPS to start the network service. You will have to setup the cron @reboot on your VPS.

24x7servermanagement
- 2,520
- 1
- 13
- 11