summaryrefslogtreecommitdiff
path: root/files/arts/software/etherpad/soffice
blob: dc834994d552b01984527fb32cc2b61171a1921f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"