2021-12-31 14:05:49 +01:00
|
|
|
[Unit]
|
|
|
|
Description=RPM Build watcher service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User={{ rpm_user }}
|
|
|
|
Group={{ rpm_user }}
|
|
|
|
ExecStart=/usr/bin/perl {{ rpm_root_dir }}/bin/watcher.pl --config {{ rpm_root_dir }}/etc/config.yml --verbose
|
|
|
|
WorkingDirectory={{ rpm_root_dir }}/
|
|
|
|
Restart=always
|
|
|
|
ReadWritePaths=/run {{ rpm_root_dir }}/repo {{ rpm_root_dir }}/cache {{ rpm_root_dir }}/builds
|
|
|
|
PrivateTmp=true
|
2022-01-12 23:00:05 +01:00
|
|
|
SyslogIdentifier=build-watcher
|
2021-12-31 14:05:49 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|