mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2021-12-31 14:05
This commit is contained in:
16
roles/rpm_build_server/templates/build-watcher.service.j2
Normal file
16
roles/rpm_build_server/templates/build-watcher.service.j2
Normal file
@@ -0,0 +1,16 @@
|
||||
[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
|
||||
|
Reference in New Issue
Block a user