Can install happyDomain as a deamon without docker
This commit is contained in:
parent
ff04988f01
commit
a58a122836
7 changed files with 176 additions and 0 deletions
10
roles/happydomain/files/happydomain.initd
Normal file
10
roles/happydomain/files/happydomain.initd
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue