blob: bd277e5ad36c5d4d3f81d43a05a93e1d1c94e732 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/openrc-run
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="thelounge"
description="Modern, responsive, cross-platform, self-hosted web IRC client"
command="/usr/bin/${RC_SVCNAME}"
command_args="start"
command_user="${RC_SVCNAME}:${RC_SVCNAME}"
command_background="true"
pidfile="/run/${RC_SVCNAME}.pid"
output_log="/var/log/${RC_SVCNAME}.log"
error_log="/var/log/${RC_SVCNAME}.log"
: "${THELOUNGE_HOME:=/var/lib/${RC_SVCNAME}}"
directory="${THELOUNGE_HOME}"
umask=0027
depend() {
after net
}
|