mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2025-12-06 05:32:02 +01:00
Document systemctl, delete systemd unit on uninstall
This commit is contained in:
parent
5b425971b5
commit
59a7d1ab1e
1
Makefile
1
Makefile
|
|
@ -110,6 +110,7 @@ uninstall:
|
|||
ifeq ($(TARGET), opendv)
|
||||
userdel opendv || true
|
||||
rm -r /var/log/opendv || true
|
||||
rm $(DESTDIR)/etc/systemd/system/ircddbgatewayd.service
|
||||
endif
|
||||
rm -r $(DESTDIR)$(DATADIR) || true
|
||||
rm $(DESTDIR)$(BINDIR)/aprstransmitd || true
|
||||
|
|
|
|||
|
|
@ -44,8 +44,12 @@ Now you should edit the configuration in the file /etc/ircddbgateway to match yo
|
|||
|
||||
When building in TARGET=opendv mode, the necessary systemd unit files will be installed. To ensure ircddbgatewayd starts at system boot, and then immediately start it, use:
|
||||
```shell
|
||||
sudo systemctl enable ircddbgatewayd.service #enable service
|
||||
sudo systemctl enable ircddbgatewayd.service
|
||||
sudo service ircddbgatewayd start
|
||||
```
|
||||
|
||||
If you wish to remove the manually installed files you may use `sudo make uninstall`
|
||||
If you wish to remove the manually installed files you may use `sudo make uninstall`.
|
||||
Note that this will remove the systemd unit, but will not first stop or disable the service. To do so, first use:
|
||||
```shell
|
||||
sudo systemctl disable --now ircddbgateway.service
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue