Takashi Iwai
5a1756a5b6
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/919467 OBS-URL: https://build.opensuse.org/package/show/M17N/fwnn?expand=0&rev=31
27 lines
682 B
Desktop File
27 lines
682 B
Desktop File
[Unit]
|
|
ConditionPathExists=/etc/FreeWnn/zh_TW/tserverrc
|
|
Description=Free Wnn Taiwan-Chinese Server, for input of traditional Chinese
|
|
|
|
[Service]
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
PrivateDevices=true
|
|
ProtectHostname=true
|
|
ProtectClock=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
Type=forking
|
|
User=wnn
|
|
ExecStartPre=/bin/rm -f /tmp/td_sockV4
|
|
ExecStart=/usr/bin/tserver
|
|
ExecStopPost=/bin/rm -f /tmp/td_sockV4
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|