File canna.service of Package canna

[Unit]
Description=Canna Japanese Conversion Engine

[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
# make sure there are no remaining stale sockets that would prevent
# cannaserver from starting
ExecStartPre=/usr/bin/systemd-tmpfiles --remove /usr/lib/tmpfiles.d/canna-tmpfiles.conf
ExecStart=/usr/sbin/cannaserver -s -u wnn -r /var/lib/canna

[Install]
WantedBy=multi-user.target
openSUSE Build Service is sponsored by