Skip to content

Commit

Permalink
v9.8
Browse files Browse the repository at this point in the history
- DietPi-Software | Apply a minimum restart limit of 3 per minute consequently for all services with "Restart=on-failure".
  • Loading branch information
MichaIng committed Oct 12, 2024
1 parent 64af7e9 commit ccf0ec4
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -6140,7 +6140,7 @@ Wants=network-online.target nss-lookup.target
After=network-online.target
Before=nss-lookup.target
StartLimitIntervalSec=60
StartLimitBurst=5
StartLimitBurst=3

[Service]
User=adguardhome
Expand Down Expand Up @@ -6246,6 +6246,8 @@ Description=navidrome (DietPi)
Wants=network-online.target
After=network-online.target remote-fs.target
AssertPathExists=/mnt/dietpi_userdata/navidrome
StartLimitIntervalSec=60
StartLimitBurst=3

[Service]
User=navidrome
Expand Down Expand Up @@ -6343,7 +6345,7 @@ Description=Kavita Server (DietPi)
Wants=network-online.target
After=network-online.target remote-fs.target
StartLimitIntervalSec=60
StartLimitBurst=5
StartLimitBurst=3

[Service]
SyslogIdentifier=Kavita
Expand Down Expand Up @@ -6548,7 +6550,7 @@ Description=frp server (DietPi)
Wants=network-online.target
After=network-online.target
StartLimitIntervalSec=60
StartLimitBurst=5
StartLimitBurst=3

[Service]
User=frp
Expand Down Expand Up @@ -6587,7 +6589,7 @@ Description=frp client (DietPi)
Wants=network-online.target
After=network-online.target frps.service
StartLimitIntervalSec=60
StartLimitBurst=5
StartLimitBurst=3

[Service]
User=frp
Expand Down Expand Up @@ -8980,7 +8982,7 @@ Description=Syncthing (DietPi)
Wants=network-online.target
After=network-online.target
StartLimitIntervalSec=60
StartLimitBurst=4
StartLimitBurst=3

[Service]
User=dietpi
Expand Down Expand Up @@ -9251,6 +9253,8 @@ Description=SABnzbd (DietPi)
Documentation=https://sabnzbd.org/wiki/
Wants=network-online.target
After=network-online.target remote-fs.target
StartLimitIntervalSec=60
StartLimitBurst=3

[Service]
SyslogIdentifier=SABnzbd
Expand Down Expand Up @@ -9473,6 +9477,8 @@ _EOF_
Description=Sonarr (DietPi)
Wants=network-online.target
After=network-online.target remote-fs.target transmission-daemon.service qbittorrent.service rtorrent.service nzbget.service deluged.service aria2.service sabnzbd.service
StartLimitIntervalSec=60
StartLimitBurst=3

[Service]
SyslogIdentifier=Sonarr
Expand Down Expand Up @@ -9563,6 +9569,8 @@ _EOF_
Description=Radarr (DietPi)
Wants=network-online.target
After=network-online.target remote-fs.target transmission-daemon.service qbittorrent.service rtorrent.service nzbget.service deluged.service aria2.service sabnzbd.service
StartLimitIntervalSec=60
StartLimitBurst=3

[Service]
SyslogIdentifier=Radarr
Expand Down Expand Up @@ -9655,6 +9663,8 @@ _EOF_
Description=Lidarr (DietPi)
Wants=network-online.target
After=network-online.target remote-fs.target transmission-daemon.service qbittorrent.service rtorrent.service nzbget.service deluged.service aria2.service sabnzbd.service
StartLimitIntervalSec=60
StartLimitBurst=3

[Service]
SyslogIdentifier=Lidarr
Expand Down Expand Up @@ -9869,7 +9879,7 @@ Description=Jackett (DietPi)
Wants=network-online.target
After=network-online.target
StartLimitIntervalSec=60
StartLimitBurst=5
StartLimitBurst=3

[Service]
SyslogIdentifier=Jackett
Expand Down Expand Up @@ -9999,6 +10009,8 @@ _EOF_
Description=Prowlarr (DietPi)
Wants=network-online.target
After=network-online.target remote-fs.target transmission-daemon.service qbittorrent.service rtorrent.service nzbget.service deluged.service aria2.service sabnzbd.service
StartLimitIntervalSec=60
StartLimitBurst=3

[Service]
SyslogIdentifier=Prowlarr
Expand Down Expand Up @@ -10073,6 +10085,8 @@ _EOF_
Description=Readarr (DietPi)
Wants=network-online.target
After=network-online.target remote-fs.target transmission-daemon.service qbittorrent.service rtorrent.service nzbget.service deluged.service aria2.service sabnzbd.service
StartLimitIntervalSec=60
StartLimitBurst=3

[Service]
SyslogIdentifier=Readarr
Expand Down

0 comments on commit ccf0ec4

Please sign in to comment.