我的本地服务器因为断电而关闭。有什么方法可以自动启动系统以及 apache tomcat。
最佳答案
你可以看看Apache Daemon , 这是进行此类事件的有用工具
Jsvc is a set of libraries and applications for making Java applications run on UNIX more easily. Jsvc allows the application (e.g. Tomcat) to perform some privileged operations as root (e.g. bind to a port < 1024), and then switch identity to a non-privileged user.
关于shell - 有没有办法在关机后自动启动基于 unix 的系统?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33845728/