openSUSE-release-tools/systemd/osrt-pkglistgen@.service
Gustavo Yokoyama Ribeiro 3784a453f3 Refactor SLSA services to avoid parallel execution
- Refactor log
- Unify log for pkglistgen
- Replace external while true loop with a systemd timer for pkglistgen
- Add process check on verify-build-and-generatelists and
  generate-release-packages to avoid start pkglistgen when there is an
  instance that is already running it
- SLSA services must not share the same workdir
2024-02-15 12:25:42 -03:00

14 lines
336 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/pkglistgen
ExecStart=/usr/bin/osrt-verify-build-and-generatelists %i
[Install]
WantedBy=osrt-slsa.target