add systemd restart timeout

This commit is contained in:
Tobias Petrich 2024-08-28 13:20:08 +02:00
parent 0141bce9ee
commit 927851117c
No known key found for this signature in database
GPG Key ID: D99301AD0515015F
5 changed files with 15 additions and 1 deletions

View File

@ -13,6 +13,7 @@ AutoUpdate=registry
[Service]
# Restart service when sleep finishes
Restart=on-failure
RestartSec=60
[Install]
# Start by default on boot

View File

@ -13,6 +13,7 @@ AutoUpdate=registry
[Service]
# Restart service when sleep finishes
Restart=on-failure
RestartSec=60
[Install]
# Start by default on boot

View File

@ -5,7 +5,13 @@ After=network.target network-online.target
[Pod]
PodName=gitea
PublishPort=127.0.0.1:8300:3000,7722:22
PublishPort=127.0.0.1:8300:3000
PublishPort=7722:22
[Service]
# Restart service when sleep finishes
Restart=on-failure
RestartSec=60
[Install]
# Start by default on boot

View File

@ -13,6 +13,7 @@ AutoUpdate=registry
[Service]
# Restart service when sleep finishes
Restart=on-failure
RestartSec=60
[Install]
# Start by default on boot

View File

@ -7,6 +7,11 @@ After=network.target network-online.target
PodName=nextcloud
PublishPort=127.0.0.1:8600:80
[Service]
# Restart service when sleep finishes
Restart=on-failure
RestartSec=60
[Install]
# Start by default on boot
WantedBy=multi-user.target default.target