mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-27 15:43:22 +02:00
17 lines
422 B
Plaintext
17 lines
422 B
Plaintext
![]() |
[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
|
||
|
|