-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsmoothscroll.service
More file actions
35 lines (32 loc) · 916 Bytes
/
Copy pathsmoothscroll.service
File metadata and controls
35 lines (32 loc) · 916 Bytes
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
[Unit]
Description=smoothscroll — merged pointer with libinput button scrolling
Documentation=https://github.com/malparty/LinuxScrollFix
[Service]
Type=simple
ExecStart=/usr/local/bin/smoothscroll --config /etc/smoothscroll.toml
Restart=always
RestartSec=2
# Needs /dev/input (read+EVIOCGRAB) and /dev/uinput (write). Everything else
# is off: no network, no filesystem writes, no privilege escalation.
DeviceAllow=/dev/uinput rw
DeviceAllow=char-input rw
DevicePolicy=closed
CapabilityBoundingSet=
AmbientCapabilities=
NoNewPrivileges=yes
PrivateNetwork=yes
PrivateTmp=yes
ProtectSystem=strict
ProtectHome=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_UNIX
RestrictNamespaces=yes
RestrictRealtime=yes
LockPersonality=yes
MemoryDenyWriteExecute=yes
SystemCallFilter=@system-service
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target