Compare commits
No commits in common. "d05661dc1550d0c1d74f95fbc5081019e1570652" and "ac6048530d1492ca404f9be4299e660706b4b0de" have entirely different histories.
d05661dc15
...
ac6048530d
6
Makefile
6
Makefile
@ -1,16 +1,16 @@
|
|||||||
all: run
|
all: run
|
||||||
|
|
||||||
run:
|
run:
|
||||||
./src/nbmrec.sh
|
./rec.sh
|
||||||
|
|
||||||
install:
|
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.service /etc/systemd/system/nbmrec.service
|
||||||
sudo cp ./conf/nbmrec.timer /etc/systemd/system/nbmrec.timer
|
sudo cp ./conf/nbmrec.timer /etc/systemd/system/nbmrec.timer
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
sudo systemctl enable nbmrec.timer
|
sudo systemctl enable nbmrec.timer
|
||||||
|
|
||||||
uninstall:
|
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 rm -rf /etc/systemd/system/nbmrec.service /etc/systemd/system/nbmrec.timer
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
|
@ -4,7 +4,7 @@ Description=NBMrec daemon nocturnal bird migration service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
User=1000
|
User=1000
|
||||||
ExecStart=/usr/local/bin/nbmrec.sh -d night
|
ExecStart=/usr/local/bin/nmbrec.sh -d night
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user