summarylogtreecommitdiffstats
path: root/joymap-system.service
blob: 9bf1a8cec7f217502599c38423dd4660321de5fe (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
[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