| 12345678910111213141516171819202122232425 |
- [Unit]
- Description=XJKJ-STL Native Memory High-Temperature Test Backend
- Wants=network-online.target
- After=network-online.target
- [Service]
- Type=simple
- User=stl
- Group=stl
- SupplementaryGroups=dialout
- AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
- CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_RAW
- WorkingDirectory=/opt/xjkj-stl
- EnvironmentFile=/etc/xjkj-stl/stl-backend.env
- ExecStart=/usr/local/bin/stl_native_server --config /etc/xjkj-stl/station0-live.json --web-listen 0.0.0.0:8080 --tftp-listen 0.0.0.0:69 --pxe-mode proxy --data-dir /var/lib/xjkj-stl --web-dir /opt/xjkj-stl/web --contracts /opt/xjkj-stl/contracts/firmware-vd012.json
- StateDirectory=xjkj-stl
- StateDirectoryMode=0750
- UMask=0027
- Restart=on-failure
- RestartSec=3
- KillMode=mixed
- TimeoutStopSec=30
- [Install]
- WantedBy=multi-user.target
|