Mod aaa-12 add lighttpd
RCA: SOL: 修改人:zhouwuqing 检视人:zhouwuqing
This commit is contained in:
parent
dcf7733e90
commit
c88b968002
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue