blob: e8b0d1e0456e6cae93df7a231cdec433f811ce5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
[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
|