systemd: ensure all services have a relaxed RuntimeMaxSec.
The value should allow ample time for seldom larger runs and such and is purely a safe-guard from a service being stuck for weeks until noticed. If any values turn out to be too small simply increase.
This commit is contained in:
parent
e3d89e525e
commit
66a670a37f
@ -5,6 +5,7 @@ Description=openSUSE Release Tools: announce new %i build
|
||||
User=osrt-announcer
|
||||
SyslogIdentifier=osrt-announcer
|
||||
ExecStart=/usr/bin/osrt-announcer --config "/etc/openSUSE-release-tools/announcer/%i.yml" --verbose
|
||||
RuntimeMaxSec=3 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -6,6 +6,7 @@ User=osrt-check-source
|
||||
SyslogIdentifier=osrt-check-source
|
||||
# TODO Drop group flag once #1181 is resolved.
|
||||
ExecStart=/usr/bin/osrt-check_source --verbose --group factory-auto review
|
||||
RuntimeMaxSec=2 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -4,6 +4,7 @@ Description=openSUSE Release Tools: leaper crawler for %i (creates SRs from upst
|
||||
[Service]
|
||||
User=osrt-leaper
|
||||
ExecStart=/bin/bash "/usr/bin/osrt-leaper-crawler-%i"
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -4,6 +4,7 @@ Description=openSUSE Release Tools: leaper manager for %i (set source projects)
|
||||
[Service]
|
||||
User=osrt-leaper
|
||||
ExecStart=/usr/bin/osrt-manager_42 -c /etc/openSUSE-release-tools/manager_42/%i.yml
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -4,6 +4,7 @@ Description=openSUSE Release Tools: leaper review
|
||||
[Service]
|
||||
User=osrt-leaper
|
||||
ExecStart=/usr/bin/osrt-leaper --verbose --manual-version-updates --manual-maintenance-updates review
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -4,6 +4,7 @@ Description=openSUSE Release Tools: maintenance incidents
|
||||
[Service]
|
||||
User=osrt-maintenance
|
||||
ExecStart=/usr/bin/osrt-check_maintenance_incidents --verbose review
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -5,6 +5,7 @@ Description=openSUSE Release Tools: metrics release for %i
|
||||
User=osrt-metrics
|
||||
SyslogIdentifier=osrt-metrics
|
||||
ExecStart=/usr/bin/osrt-metrics --debug --release-only -p "%i"
|
||||
RuntimeMaxSec=2 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -5,6 +5,7 @@ Description=openSUSE Release Tools: metrics for %i
|
||||
User=osrt-metrics
|
||||
SyslogIdentifier=osrt-metrics
|
||||
ExecStart=/usr/bin/osrt-metrics --debug -p "%i"
|
||||
RuntimeMaxSec=120 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -4,6 +4,7 @@ Description=openSUSE Release Tools: generate package lists for %i
|
||||
[Service]
|
||||
User=osrt-repo-checker
|
||||
ExecStart=/usr/bin/osrt-pkglistgen update_and_solve -p "%i"
|
||||
RuntimeMaxSec=24 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -5,6 +5,7 @@ Description=openSUSE Release Tools: repo-checker project_only for %i
|
||||
User=osrt-repo-checker
|
||||
SyslogIdentifier=osrt-repo-checker
|
||||
ExecStart=/usr/bin/osrt-repo_checker --debug project_only --post-comments "%i"
|
||||
RuntimeMaxSec=24 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -5,6 +5,7 @@ Description=openSUSE Release Tools: repo-checker
|
||||
User=osrt-repo-checker
|
||||
SyslogIdentifier=osrt-repo-checker
|
||||
ExecStart=/usr/bin/osrt-repo_checker --debug review
|
||||
RuntimeMaxSec=24 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -5,6 +5,7 @@ Description=openSUSE Release Tools: staging-bot check for duplicate binaries pro
|
||||
User=osrt-staging-bot
|
||||
SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/osc staging -p "%i" check_duplicate_binaries --save
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -7,6 +7,7 @@ SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/env bash -c ' \
|
||||
osc staging -p "%i" unignore --cleanup \
|
||||
'
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -5,6 +5,7 @@ Description=openSUSE Release Tools: staging-bot devel list (stored in dashboard)
|
||||
User=osrt-staging-bot
|
||||
SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/osrt-devel-project list -w
|
||||
RuntimeMaxSec=16 hour
|
||||
|
||||
# API query regularly times out, but will be cached if called again.
|
||||
Restart=on-failure
|
||||
|
@ -5,6 +5,7 @@ Description=openSUSE Release Tools: staging-bot comment openQA/build results on
|
||||
User=osrt-staging-bot
|
||||
SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/osrt-openqa-comments -p "%i"
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -12,6 +12,7 @@ ExecStart=/usr/bin/env bash -c ' \
|
||||
osc staging -p "%i" unselect --cleanup && \
|
||||
osc staging -p "%i" repair --cleanup \
|
||||
'
|
||||
RuntimeMaxSec=24 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -8,6 +8,7 @@ ExecStart=/usr/bin/env bash -c ' \
|
||||
/usr/bin/osrt-devel-project reviews --min-age 3 --remind && \
|
||||
/usr/bin/osrt-devel-project requests --min-age 3 --remind \
|
||||
'
|
||||
RuntimeMaxSec=16 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -5,6 +5,7 @@ Description=openSUSE Release Tools: supersede duplicate submissions for %i
|
||||
User=osrt-staging-bot
|
||||
SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/osc check_dups "%i"
|
||||
RuntimeMaxSec=3 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -5,6 +5,7 @@ Description=openSUSE Release Tools: staging-bot regular for %i (rebuild staging
|
||||
User=osrt-staging-bot
|
||||
SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/osrt-suppkg_rebuild -p "%i"
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user