CentOS7.4 Jexus开机启动脚本
[Unit]
Description=jexus – high performance web server
Documentation=http://www.jexus.org
After=network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target
[Service]
Type=forking
PIDFile=/var/run/jexus/jws.pid
ExecStart=/usr/jexus/jws start
ExecReload=/usr/jexus/jws restart
ExecStop=/usr/jexus/jws stop
[Install]
WantedBy=multi-user.target