Mod aaa-12 add lighttpd

RCA:
SOL:
修改人:zhouwuqing
检视人:zhouwuqing
This commit is contained in:
zhouwuqing 2019-08-22 04:48:03 -07:00
parent dcf7733e90
commit c88b968002
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,15 @@
[Unit]
Description=webserver
After=network.target
[Service]
Type=forking
Environment=LD_LIBRARY_PATH=/usr/Platform_usr
ExecStart=/usr/Product_usr/lighttpd/sbin/lighttpd -f /usr/Product_usr/lighttpd/config/portal.conf
#ExecStart=/bin/bash -c 'netstat -lpnt | grep 8080'
#Restart=always
#RestartSec=10s
#RemainAfterExit=no
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,15 @@
[Unit]
Description=webserver
After=network.target
[Service]
Type=forking
Environment=LD_LIBRARY_PATH=/usr/Platform_usr
ExecStart=/usr/Product_usr/lighttpd/sbin/lighttpd -f /lighttpd/config/webserver.conf
#ExecStart=/bin/bash -c 'netstat -lpnt | grep 8080'
#Restart=always
#RestartSec=10s
#RemainAfterExit=no
[Install]
WantedBy=multi-user.target