mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-21 06:13:49 +00:00
delete unit file on uninstall
This commit is contained in:
parent
ba9c97289f
commit
bb1a542fe1
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
|
@ -55,10 +55,12 @@ install-service: install /etc/MMDVM.ini
|
|||
@sed -i 's/Daemon=0/Daemon=1/' /etc/MMDVM.ini
|
||||
@chown mmdvm:mmdvm /etc/MMDVM.ini
|
||||
|
||||
.PHONY uninstall-service:
|
||||
uninstall-service:
|
||||
@systemctl stop mmdvmhost.service || true
|
||||
@systemctl disable mmdvmhost.service || true
|
||||
@rm -f /usr/local/bin/MMDVMHost || true
|
||||
@rm -f /lib/systemd/system/mmdvmhost.service || true
|
||||
|
||||
clean:
|
||||
$(RM) MMDVMHost RemoteCommand *.o *.d *.bak *~ GitVersion.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue