session-open-group-server/debian/session-open-group-server.service
Jeff 4450ce7f8a
add cap_net_bind_service to systemd unit
this allows running on port 80 as non privileged user.
2021-05-08 15:50:22 -04:00

19 lines
407 B
Desktop File

[Unit]
Description=Session Open Group Server
After=network-online.target
Wants=network-online.target
StartLimitInterval=0
[Service]
User=_loki
Type=simple
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
ExecStart=/usr/bin/session-open-group-server
WorkingDirectory=/var/lib/session-open-group-server
Restart=on-failure
RestartSec=4
[Install]
WantedBy=multi-user.target