Update README.md

This commit is contained in:
Lemniskett 2021-01-11 14:08:17 +07:00 committed by GitHub
parent c0fe30a82f
commit 6657687b60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,16 +66,16 @@ permit nopass :wheel as root cmd /usr/local/share/archbox/bin/remount_run
```
### Misc
#### Systemd services
Use ```servicectl``` command to manage systemd services.
More info [here](https://github.com/smaknsk/servicectl)
Use ```archboxctl``` command to manage systemd services.
More info [here](https://github.com/lemniskett/archboxctl)
To enable service on host boot, in archbox do :
To enable service on host boot, edit `/etc/archbox.conf` :
```
sudo servicectl enable <service name>
SERVICES=(vmware-networks-configuration vmware-networks vmware-usbarbitrator nginx)
```
To start services immediately, in archbox do :
To start services immediately, in Archbox, do :
```
sudo servicectl start <service name>
sudo archboxctl exec <Service name>
```
This isn't actually using systemd to start services, rather it parses systemd .service files and executes it.
#### Desktop entries