freebsd-ports/x11-servers/Xfstt/files/xfstt.in
Ruslan Makhmatkhanov f271f72f19 x11-servers/Xfstt: update to 1.9.2
- update to 1.9.2
- pass maintainership to submitter
- add new maintainer's distfile mirror to MASTER_SITES
- specify a LICENSE
- sort USES alphabetically
- regenerate patches with make makepatch
- remove absolute path from pkg-message
- add PROVIDE, REQUIRE and KEYWORD to the rc script

PR:		202267
Submitted by:	A.J. "Fonz" van Werven <freebsd@skysmurf.nl>
2015-09-28 19:15:47 +00:00

22 lines
324 B
Bash

#!/bin/sh
# PROVIDE: xfstt
# REQUIRE: login
# KEYWORD: shutdown
PREFIX=%%PREFIX%%
case "$1" in
start)
${PREFIX}/bin/xfstt --sync >/dev/null
${PREFIX}/bin/xfstt --user nobody --notcp --daemon && echo -n ' xfstt'
;;
stop)
/usr/bin/killall xfstt 2>/dev/null && echo -n ' xfstt'
;;
*)
echo "$0 start | stop"
;;
esac