Files
wlan-cloud-tools/microservice_sample_cpp/ow_helloworld.service
stephb9959 cf74edaac5 Update to v2.7.0
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
2022-09-08 21:55:45 -07:00

23 lines
555 B
Desktop File

[Unit]
Description=OpenWiFi HelloWorld Service
After=network-online.target docker.service
Wants=network-online.target
[Service]
Type=simple
Environment="$OWHELLOWORLD_ROOT=/home/admin/dev/wlan-cloud-ow_helloworld"
ExecStart=/home/admin/dev/wlan-cloud-ow_helloworld/cmake-build/ow_helloworld
WorkingDirectory=/home/admin/dev/wlan-cloud-ow_helloworld
# ExecReload=/bin/kill -s HUP $MAINPID
User=admin
# TimeoutSec=0
RestartSec=2
Restart=always
StartLimitBurst=3
# KillMode=process
LimitNOFILE=500000
LimitNPROC=500000
[Install]
WantedBy=multi-user.target