From c88b968002016c114a31ef1395508fd7461076c3 Mon Sep 17 00:00:00 2001 From: zhouwuqing Date: Thu, 22 Aug 2019 04:48:03 -0700 Subject: [PATCH] =?UTF-8?q?Mod=20aaa-12=20add=20lighttpd=20RCA:=20SOL:=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=BA:zhouwuqing=20=E6=A3=80=E8=A7=86?= =?UTF-8?q?=E4=BA=BA:zhouwuqing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- systemd_service/platform_usr_portalserver.service | 15 +++++++++++++++ systemd_service/platform_usr_webserver.service | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 systemd_service/platform_usr_portalserver.service create mode 100644 systemd_service/platform_usr_webserver.service diff --git a/systemd_service/platform_usr_portalserver.service b/systemd_service/platform_usr_portalserver.service new file mode 100644 index 000000000..39a423f6b --- /dev/null +++ b/systemd_service/platform_usr_portalserver.service @@ -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 diff --git a/systemd_service/platform_usr_webserver.service b/systemd_service/platform_usr_webserver.service new file mode 100644 index 000000000..643fd30bc --- /dev/null +++ b/systemd_service/platform_usr_webserver.service @@ -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