Can install happyDomain as a deamon without docker

This commit is contained in:
nemunaire 2023-04-12 11:16:33 +02:00
commit a58a122836
7 changed files with 176 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#!/sbin/openrc-run
# Copyright 2016-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
description="happyDomain Domain Managment Server"
pidfile=${pidfile:-"/run/${SVCNAME}.pid"}
command="/usr/bin/happydomain"
command_background="true"
start_stop_daemon_args="--stdout /var/log/${SVCNAME}/${SVCNAME}.log \
--stderr /var/log/${SVCNAME}/${SVCNAME}.log -u happydomain -g happydomain"