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