blob: 09c03a46e292dcdffea08eee7d9a3c738cd52f46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
[Unit]
Description=Screego Server – screen sharing for developers
ConditionFileIsExecutable=/var/lib/screego-server/screego-server
After=syslog.target network-online.target
[Service]
User=screego
Group=screego
AmbientCapabilities=CAP_NET_BIND_SERVICE
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
StartLimitInterval=5
StartLimitBurst=10
EnvironmentFile=/etc/screego/server.config
ExecStart=/var/lib/screego-server/screego-server serve
WorkingDirectory=/var/lib/screego-server
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
|