[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 SyslogIdentifier=build-watcher [Install] WantedBy=multi-user.target