summaryrefslogtreecommitdiff
path: root/app-office/libreoffice/files/libreoffice.initd
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/libreoffice/files/libreoffice.initd')
-rw-r--r--app-office/libreoffice/files/libreoffice.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-office/libreoffice/files/libreoffice.initd b/app-office/libreoffice/files/libreoffice.initd
new file mode 100644
index 000000000000..ecd650145735
--- /dev/null
+++ b/app-office/libreoffice/files/libreoffice.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="LibreOffice headless daemon for generating documents"
+name="LibreOffice headless daemon"
+pidfile="/run/soffice.pid"
+soffice_args="${libreoffice_opts}"
+
+command="/usr/bin/soffice"
+command_args="--nodefault --nofirststartwizard --nolockcheck --nologo --norestore --headless ${soffice_args}"
+command_background="true"
+command_group="libreoffice"
+command_user="libreoffice"