mirror of
https://github.com/outbackdingo/sysadm.git
synced 2026-01-27 02:20:17 +00:00
Add documentation for running under jobd(8), and avoid auto-enabling the service at package install time
This commit is contained in:
14
README.md
14
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
|
||||
|
||||
@@ -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" ]
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
"Label": "org.pcbsd.sysadm",
|
||||
"Program": ["/usr/local/bin/sysadm-server"],
|
||||
"Enable": true
|
||||
"Program": ["/usr/local/bin/sysadm-server"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user