blob: d8b78ad7373854c292fc46ff154500216d650e27 (
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
|
[Unit]
Description=Start joymap system service.
[Service]
Type=simple
User=joymap
Group=joymap
ExecStartPre=+-/usr/bin/setfacl -m u:joymap:rw /dev/uinput
ExecStart=/usr/bin/joymap /etc/joymap.map
NoNewPrivileges=true
Nice=-10
ProtectSystem=strict
PrivateTmp=true
DeviceAllow=/dev/uinput
DeviceAllow=char-input
PrivateNetwork=true
PrivateIPC=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
[Install]
WantedBy=multi-user.target
|