We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fe9172 commit 480dbdfCopy full SHA for 480dbdf
2 files changed
Makefile
@@ -31,6 +31,8 @@ install:
31
@cp build/$(TARGET) /usr/local/bin/
32
@setcap 'cap_net_bind_service=+ep' /usr/local/bin/$(TARGET)
33
@mkdir -p /usr/local/etc/$(TARGET)
34
- @cp sample_config.json /usr/local/etc/$(TARGET)/config.json
+ @test -s /usr/local/etc/$(TARGET)/config.json || { cp sample_config.json /usr/local/etc/$(TARGET)/config.json }
35
@cp arc.service /etc/systemd/system/
36
@systemctl daemon-reload
37
+ @systemctl enable arc
38
+ @service arc restart
pi_update.sh
0 commit comments