Compare commits

..

No commits in common. "d05661dc1550d0c1d74f95fbc5081019e1570652" and "ac6048530d1492ca404f9be4299e660706b4b0de" have entirely different histories.

3 changed files with 4 additions and 4 deletions

View File

@ -1,16 +1,16 @@
all: run
run:
./src/nbmrec.sh
./rec.sh
install:
sudo cp ./src/nbmrec.sh /usr/local/bin/nbmrec.sh
sudo cp ./src/rec.sh /usr/local/bin/rec.sh
sudo cp ./conf/nbmrec.service /etc/systemd/system/nbmrec.service
sudo cp ./conf/nbmrec.timer /etc/systemd/system/nbmrec.timer
sudo systemctl daemon-reload
sudo systemctl enable nbmrec.timer
uninstall:
sudo rm -rf /usr/local/bin/nbmrec.sh
sudo rm -rf /usr/local/bin/rec.sh
sudo rm -rf /etc/systemd/system/nbmrec.service /etc/systemd/system/nbmrec.timer
sudo systemctl daemon-reload

View File

@ -4,7 +4,7 @@ Description=NBMrec daemon nocturnal bird migration service
[Service]
Type=oneshot
User=1000
ExecStart=/usr/local/bin/nbmrec.sh -d night
ExecStart=/usr/local/bin/nmbrec.sh -d night
RemainAfterExit=yes
[Install]