- Create custom-cache-tag for pkglistgen to enable separate cache dir name in case of parallel running - Add custom-cache-tag to SLSA services - Check for systemd service instead of process to ensure that SLSA services will not run in parallel - Change pkglisgen timer to avoid overlap with relpkggen timer
16 lines
466 B
Desktop File
16 lines
466 B
Desktop File
[Unit]
|
|
PartOf=osrt-slsa.target
|
|
|
|
[Service]
|
|
User=osrt-slsa
|
|
SyslogIdentifier=osrt-slsa
|
|
EnvironmentFile=/etc/openSUSE-release-tools/ibsapi
|
|
Environment="OSC_CONFIG=/etc/openSUSE-release-tools/oscrc"
|
|
WorkingDirectory=/var/lib/osrt-slsa/relpkggen
|
|
ExecStartPre=/bin/bash -xc '/usr/bin/systemctl is-active --quiet osrt-pkglistgen@%i.service && exit 1 || exit 0'
|
|
ExecStart=/usr/bin/osrt-generate-release-packages %i
|
|
RuntimeMaxSec=120 hour
|
|
|
|
[Install]
|
|
WantedBy=osrt-slsa.target
|