Skip to content

Commit

Permalink
Only install dependencies when init file does not exist in startup sc…
Browse files Browse the repository at this point in the history
…ript
  • Loading branch information
ohinckel committed Jan 19, 2024
1 parent 700efa5 commit 7d5a18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/systemd/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ feh --bg-scale ./common/static/common/background.png

# Activate env and install requirements
. ../venv/bin/activate
pip install -r requirements.txt
[ -f ./data/framarama-init.json ] || pip install -r requirements.txt

# Start main loop
while [ "1" = "1" ] ; do
Expand Down

0 comments on commit 7d5a18b

Please sign in to comment.