Fix makefile

This commit is contained in:
pivaldi 2018-09-06 10:52:42 +02:00
parent c34ac95b4c
commit f9c809d0e4

View file

@ -1,10 +1,10 @@
.PHONY: install .PHONY: install
install: install:
cp borg_exporter.sh /usr/local/bin/ \ @cp borg_exporter.sh /usr/local/bin/ \
&& chmod +x /usr/local/bin/borg_exporter.sh \ && chmod +x /usr/local/bin/borg_exporter.sh \
&& cp borg_exporter.rc /etc/borg_exporter.rc \ && cp borg_exporter.rc /etc/borg_exporter.rc \
&& cp prometheus-borg-exporter.timer /etc/systemd/system/ \ && cp prometheus-borg-exporter.timer /etc/systemd/system/ \
&& cp prometheus-borg-exporter.service /etc/systemd/system/ \ && cp prometheus-borg-exporter.service /etc/systemd/system/ \
&& echo -n "Edit the config file /etc/borg_exporter.rc and press [ENTER] when finished "; read \ && echo -n "Edit the config file /etc/borg_exporter.rc and press [ENTER] when finished "; read _ \
&& systemctl enable prometheus-borg-exporter.timer \ && systemctl enable prometheus-borg-exporter.timer \
&& systemctl start prometheus-borg-exporter.timer && systemctl start prometheus-borg-exporter.timer