summaryrefslogtreecommitdiff
path: root/files/arts/software/etherpad/soffice
diff options
context:
space:
mode:
Diffstat (limited to 'files/arts/software/etherpad/soffice')
-rwxr-xr-xfiles/arts/software/etherpad/soffice28
1 files changed, 28 insertions, 0 deletions
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 @@
1#!/bin/sh
2#
3
4# PROVIDE: soffice
5# REQUIRE: LOGIN
6# KEYWORD: shutdown
7#
8# Add the following line to /etc/rc.conf to enable etherpad:
9#
10# soffice_enable="YES"
11#
12
13. /etc/rc.subr
14
15name="soffice"
16rcvar=${name}_enable
17
18start_cmd="${name}_start"
19#stop_cmd="${name}_stop"
20
21load_rc_config $name
22
23soffice_start()
24{
25 /usr/sbin/daemon -f /usr/local/bin/soffice -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service" -nologo
26}
27
28run_rc_command "$1"