2021-01-25 18:14:26 +00:00
|
|
|
# HMCi as a System Service
|
|
|
|
|
|
|
|
## Systemd
|
|
|
|
|
|
|
|
To install as a systemd service, copy the **hmci.service**
|
|
|
|
file into */etc/systemd/system/* and enable the service:
|
|
|
|
|
2021-06-10 09:09:15 +00:00
|
|
|
```shell
|
|
|
|
cp /opt/hmci/doc/hmci.service /etc/systemd/system/
|
|
|
|
systemctl daemon-reload
|
|
|
|
systemctl enable hmci.service
|
|
|
|
systemctl restart hmci.service
|
|
|
|
```
|
2021-01-25 18:14:26 +00:00
|
|
|
|
|
|
|
To read log output from the service, use:
|
|
|
|
|
2021-06-10 09:09:15 +00:00
|
|
|
```shell
|
|
|
|
journalctl -f -u hmci.service
|
|
|
|
```
|