Skip to content

Commit b34fb42

Browse files
committed
Improve systemd service file
1 parent fe54ad1 commit b34fb42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backlightd.service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ Type=simple
66
Restart=always
77
ExecStart=/usr/bin/backlightd
88
ProtectSystem=strict
9+
ReadWritePaths=/var/cache /run
910
ProtectHome=tmpfs
1011
PrivateTmp=true
1112
ProtectKernelTunables=true
1213
ProtectKernelModules=true
1314
ProtectKernelLogs=true
1415
ProtectControlGroups=true
1516
MemoryDenyWriteExecute=true
16-
RestrictAddressFamilies=AF_UNIX
17+
RestrictAddressFamilies=AF_INET AF_UNIX
1718
SocketBindDeny=ipv4:tcp
1819
SocketBindDeny=ipv4:udp
1920
SocketBindDeny=ipv6:tcp

0 commit comments

Comments
 (0)