mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-10-28 17:32:29 +00:00
23 lines
531 B
Desktop File
23 lines
531 B
Desktop File
[Unit]
|
|
Description=OpenWiFi Security Service
|
|
After=network-online.target docker.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment="OWSEC_ROOT=/home/admin/dev/wlan-cloud-ucentralsec"
|
|
ExecStart=/home/admin/dev/wlan-cloud-ucentralsec/cmake-build/owsec
|
|
WorkingDirectory=/home/admin/dev/wlan-cloud-ucentralsec
|
|
# 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
|