14 lines
312 B
SYSTEMD
14 lines
312 B
SYSTEMD
|
[Unit]
|
||
|
ConditionPathExists=/etc/FreeWnn/zh_CN/cserverrc
|
||
|
Description=Free Wnn (mainland) Chinese Server, for input of simplified Chinese
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
User=wnn
|
||
|
ExecStartPre=/bin/rm -f /tmp/cd_sockV4
|
||
|
ExecStart=/usr/bin/cserver
|
||
|
ExecStopPost=/bin/rm -f /tmp/cd_sockV4
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|