use /etc/systemd

This commit is contained in:
Talon 2022-03-18 08:13:05 -06:00
parent 601b76b675
commit 8bf01ee846

View file

@ -1,11 +1,11 @@
install: install:
install DynGanDiNS.sh /bin/DynGanDiNS install DynGanDiNS.sh /bin/DynGanDiNS
install --target-directory /usr/lib/systemd/system/ --mode 644 systemd/DynGanDiNS.service install --target-directory /etc/systemd/system/ --mode 644 systemd/DynGanDiNS.service
install --target-directory /usr/lib/systemd/system/ --mode 644 systemd/DynGanDiNS.timer install --target-directory /etc/systemd/system/ --mode 644 systemd/DynGanDiNS.timer
install --mode 644 -D Settings.env /etc/sysconfig/DynGanDiNS install --mode 644 -D Settings.env /etc/sysconfig/DynGanDiNS
uninstall: uninstall:
rm /bin/DynGanDiNS rm /bin/DynGanDiNS
rm /usr/lib/systemd/system/DynGanDiNS.service rm /etc/systemd/system/DynGanDiNS.service
rm /usr/lib/systemd/system/DynGanDiNS.timer rm /etc/systemd/system/DynGanDiNS.timer
rm /etc/sysconfig/DynGanDiNS rm /etc/sysconfig/DynGanDiNS