openSUSE-release-tools/systemd/osrt-staging-bot-daily@.service
Jimmy Berry 66a670a37f 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.
2018-05-10 23:42:16 -05:00

14 lines
276 B
Desktop File

[Unit]
Description=openSUSE Release Tools: staging-bot daily for %i
[Service]
User=osrt-staging-bot
SyslogIdentifier=osrt-staging-bot
ExecStart=/usr/bin/env bash -c ' \
osc staging -p "%i" unignore --cleanup \
'
RuntimeMaxSec=6 hour
[Install]
WantedBy=multi-user.target