mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-10 15:23:27 +02:00
17 lines
422 B
Django/Jinja
17 lines
422 B
Django/Jinja
[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
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|