Skip to content

Commit

Permalink
Move the timeout back to the crash generator
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLG1979 committed Dec 12, 2022
1 parent bbdfb7f commit 5944f43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions raspotify/lib/systemd/system/raspotify.service
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,8 @@ Environment=LIBRESPOT_SYSTEM_CACHE=%S/%N
# It is overridden in the config.
# See the config for details.
Environment=TMPDIR=%t/%N

EnvironmentFile=-%E/%N/conf

# Delay start up to debounce restarts
# and to help prevent librespot from
# starting to soon during boot up.
ExecStartPre=/bin/sleep 10
ExecStart=/usr/bin/librespot

[Install]
Expand Down
1 change: 1 addition & 0 deletions raspotify/usr/bin/raspotify-crash-report-generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ done <$config
systemctl reset-failed raspotify

if [ "$fail_count" -lt 6 ]; then
sleep 10
systemctl restart raspotify
fi

0 comments on commit 5944f43

Please sign in to comment.