14 lines
309 B
SYSTEMD
14 lines
309 B
SYSTEMD
|
[Unit]
|
||
|
ConditionPathExists=/etc/FreeWnn/zh_TW/tserverrc
|
||
|
Description=Free Wnn Taiwan-Chinese Server, for input of traditional Chinese
|
||
|
|
||
|
[Service]
|
||
|
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
|