summarylogtreecommitdiffstats
path: root/easy-novnc.service
blob: 087c4f646df962e831298f1971c8c5368887015f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[Unit]
Description=Easy novnc service file
Documentation=https://github.com/pgaskin/easy-novnc
After=syslog.target network.target

[Service]
ExecStart=/usr/bin/easy-novnc -v
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
Restart=always
ConfigurationDirectory=easy-novnc
EnvironmentFile=/etc/webapps/easy-novnc/config
User=easy-novnc
LockPersonality=true
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
PrivateUsers=true
ProtectClock=true
ProtectControlGroups=true
ProtectHome=true
ProtectHostname=true
ProtectKernelLogs=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=strict
ReadWritePaths=/etc/webapps/easy-novnc/
RemoveIPC=true
RestrictAddressFamilies=~AF_PACKET AF_NETLINK
RestrictNamespaces=true
RestrictRealtime=true
RestrictSUIDSGID=true
SystemCallArchitectures=native
SystemCallFilter=@system-service
SystemCallFilter=~@resources
SystemCallFilter=~@privileged

[Install]
WantedBy=multi-user.target