mirror of
https://codeberg.org/icewind/evtype.git
synced 2026-06-03 17:44:07 +02:00
30 lines
628 B
Desktop File
30 lines
628 B
Desktop File
[Unit]
|
|
Description=EvType
|
|
|
|
[Service]
|
|
# restrict permissions as much as possible
|
|
ProtectControlGroups=true
|
|
ProtectHome=true
|
|
ProtectKernelTunables=true
|
|
ProtectSystem=strict
|
|
RestrictSUIDSGID=true
|
|
PrivateNetwork=true
|
|
CapabilityBoundingSet=true
|
|
RestrictNamespaces=true
|
|
RestrictAddressFamilies=AF_UNIX
|
|
PrivateUsers=true
|
|
PrivateTmp=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
NoNewPrivileges=true
|
|
SystemCallFilter=@system-service
|
|
SystemCallFilter=~@resources
|
|
MemoryDenyWriteExecute=true
|
|
IPAddressDeny=any
|
|
ReadWritePaths=/var/run
|
|
RuntimeDirectory=evtype
|
|
|
|
ExecStart=/usr/bin/evtype_daemon
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|