diff --git a/README.md b/README.md index e426052..8613f83 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,11 @@ Qt5 Websockets (pkg install qt5-websockets) ### Starting SysAdm +SysAdm can be started one of two ways: +1. The traditional rc(8) mechanism +2. The new jobd(8) mechanism + +To run under rc(8): ``` (For WebSockets - Required for SysAdm Client) % sudo sysrc -f /etc/rc.conf sysadm_enable="YES" @@ -50,6 +55,15 @@ Qt5 Websockets (pkg install qt5-websockets) % sudo service sysadm-rest start ``` +To run under jobd(8): +``` +(For WebSockets - Required for SysAdm Client) +% sudo jobctl org.pcbsd.sysadm enable + +(Optional for REST) +% sudo jobctl org.pcbsd.sysadm-rest enable +``` + ### API Documentation https://api.pcbsd.org diff --git a/src/job.d/org.pcbsd.sysadm-rest.json b/src/job.d/org.pcbsd.sysadm-rest.json index 04c3f1c..a201f45 100644 --- a/src/job.d/org.pcbsd.sysadm-rest.json +++ b/src/job.d/org.pcbsd.sysadm-rest.json @@ -1,5 +1,4 @@ { "Label": "org.pcbsd.sysadm-rest", - "Program": [ "/usr/local/bin/sysadm-server", "-rest" ], - "Enable": false + "Program": [ "/usr/local/bin/sysadm-server", "-rest" ] } diff --git a/src/job.d/org.pcbsd.sysadm.json b/src/job.d/org.pcbsd.sysadm.json index 617ff27..6dfae4a 100644 --- a/src/job.d/org.pcbsd.sysadm.json +++ b/src/job.d/org.pcbsd.sysadm.json @@ -1,5 +1,4 @@ { "Label": "org.pcbsd.sysadm", - "Program": ["/usr/local/bin/sysadm-server"], - "Enable": true + "Program": ["/usr/local/bin/sysadm-server"] }