Skip to content

Commit

Permalink
Fix up for last commit
Browse files Browse the repository at this point in the history
StartLimitBurst=5
StartLimitIntervalSec=60

Were in the wrong section. They should be in [Unit].
  • Loading branch information
JasonLG1979 committed Nov 24, 2022
1 parent 285a6cb commit a9f721f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions raspotify/lib/systemd/system/raspotify.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ Documentation=https://github.com/librespot-org/librespot/wiki/Options
Wants=network.target sound.target
After=network.target sound.target

StartLimitBurst=5
StartLimitIntervalSec=60

[Service]
DynamicUser=yes
SupplementaryGroups=audio

Restart=always
RestartSec=10
StartLimitBurst=5
StartLimitIntervalSec=60
RestartPreventExitStatus=0

# Some of these may be implied by DynamicUser=yes
Expand Down

0 comments on commit a9f721f

Please sign in to comment.