Finish adding relaunchd services for sysadm server

This commit is contained in:
Kris Moore
2016-04-19 10:00:56 -04:00
parent 9153467480
commit 5f53dd4a4e
4 changed files with 13 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
{
"Label": "org.pcbsd.sysadm-rest",
"ProgramArguments": [ "/usr/local/bin/sysadm-server", "-rest" ],
"RunAtLoad": true
"RunAtLoad": false
}

View File

@@ -1,5 +1,5 @@
{
"Label": "org.pcbsd.sysadm-rest",
"Program": "/usr/local/bin/sysadm-server",
"RunAtLoad": false
"RunAtLoad": true
}

View File

@@ -5,3 +5,5 @@ etc/launchd/daemons/org.pcbsd.sysadm-rest.json.dist
etc/sysadm.conf.dist
etc/rc.d/sysadm
etc/rc.d/sysadm-rest
share/launchd/daemons/org.pcbsd.sysadm.json
share/launchd/daemons/org.pcbsd.sysadm-rest.json

View File

@@ -10,10 +10,16 @@ SUBDIRS+= server
rcd.path = /usr/local/etc/rc.d/
rcd.extra = cp rc.d/* $(INSTALL_ROOT)/usr/local/etc/rc.d/
daemons.path = /usr/local/etc/launchd/daemons/
daemons.extra = cp daemons.d/* $(INSTALL_ROOT)/usr/local/etc/launchd/daemons/
dconf.path = /usr/local/etc/launchd/daemons/
dconf.extra = cp daemons.d/* $(INSTALL_ROOT)/usr/local/etc/launchd/daemons/
wsdaemon.path = /usr/local/share/launchd/daemons/
wsdaemon.extra = cp daemons.d/org.pcbsd.sysadm.json.dist $(INSTALL_ROOT)/usr/local/share/launchd/daemons/org.pcbsd.sysadm.json
rstdaemon.path = /usr/local/share/launchd/daemons/
rstdaemon.extra = cp daemons.d/org.pcbsd.sysadm-rest.json.dist $(INSTALL_ROOT)/usr/local/share/launchd/daemons/org.pcbsd.sysadm-rest.json
conf.path = /usr/local/etc/
conf.extra = cp conf/sysadm.conf ${INSTALL_ROOT}/usr/local/etc/sysadm.conf.dist
INSTALLS += rcd conf daemons
INSTALLS += rcd conf wsdaemon rstdaemon dconf