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.
19 lines
528 B
Desktop File
19 lines
528 B
Desktop File
[Unit]
|
|
Description=openSUSE Release Tools: staging-bot regular for %i
|
|
|
|
[Service]
|
|
User=osrt-staging-bot
|
|
SyslogIdentifier=osrt-staging-bot
|
|
ExecStart=/usr/bin/env bash -c ' \
|
|
osc staging -p "%i" rebuild && \
|
|
osc staging -p "%i" list --supersede && \
|
|
osc staging -p "%i" adi --by-develproject && \
|
|
osc staging -p "%i" select --non-interactive --merge --try-strategies && \
|
|
osc staging -p "%i" unselect --cleanup && \
|
|
osc staging -p "%i" repair --cleanup \
|
|
'
|
|
RuntimeMaxSec=24 hour
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|