2017-02-17 17:45:03 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Clipmenu daemon
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=/usr/bin/clipmenud
|
|
|
|
Restart=always
|
2019-02-13 17:34:32 +01:00
|
|
|
RestartSec=500ms
|
2017-02-17 17:45:03 +01:00
|
|
|
|
|
|
|
MemoryDenyWriteExecute=yes
|
|
|
|
NoNewPrivileges=yes
|
|
|
|
ProtectControlGroups=yes
|
|
|
|
ProtectKernelTunables=yes
|
|
|
|
RestrictAddressFamilies=
|
|
|
|
RestrictRealtime=yes
|
|
|
|
|
2020-10-14 13:51:06 +02:00
|
|
|
# We don't need to do any clean up, so if something hangs (borked xclip, etc),
|
|
|
|
# it's going to stay that way. Just forcefully kill and get it over with.
|
|
|
|
TimeoutStopSec=2
|
|
|
|
|
2017-02-17 17:45:03 +01:00
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|