Last active
July 23, 2023 00:20
-
-
Save wchargin/bd377863bd41d261fa48d100b2687bdf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Continuous audio recorder | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
ExecStart=/home/pi/start.sh | |
WorkingDirectory=/home/pi | |
User=pi | |
Group=pi | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export GOOGLE_APPLICATION_CREDENTIALS=... | |
export RUST_LOG=info,reccon=debug | |
exec ./reccon 2>&1 | tee -a reccon.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment