From 23f0e1561767dd8a396188e317bae5920d171ea8 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 16 Aug 2015 16:38:25 +0200 Subject: Initial import of my nikola website --- files/arts/software/etherpad/soffice | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 files/arts/software/etherpad/soffice (limited to 'files/arts/software/etherpad/soffice') diff --git a/files/arts/software/etherpad/soffice b/files/arts/software/etherpad/soffice new file mode 100755 index 0000000..dc83499 --- /dev/null +++ b/files/arts/software/etherpad/soffice @@ -0,0 +1,28 @@ +#!/bin/sh +# + +# PROVIDE: soffice +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable etherpad: +# +# soffice_enable="YES" +# + +. /etc/rc.subr + +name="soffice" +rcvar=${name}_enable + +start_cmd="${name}_start" +#stop_cmd="${name}_stop" + +load_rc_config $name + +soffice_start() +{ + /usr/sbin/daemon -f /usr/local/bin/soffice -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service" -nologo +} + +run_rc_command "$1" -- cgit v1.2.3