mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-07 23:43:51 +00:00
delete unit file on uninstall
This commit is contained in:
parent
d4e6f2cb5e
commit
f64371b4c8
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