From ea4a9b2d1b98df405cab649a33150cf2501f3c66 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 10 Mar 2023 00:08:02 +0100 Subject: [PATCH] updated qrz state --- states/qrz/service.sls | 2 +- states/qrz/{ => templates}/qrz.service.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename states/qrz/{ => templates}/qrz.service.j2 (92%) diff --git a/states/qrz/service.sls b/states/qrz/service.sls index 622afa0..a04dfdf 100644 --- a/states/qrz/service.sls +++ b/states/qrz/service.sls @@ -3,7 +3,7 @@ qrz-service-file: file.managed: - name: /etc/systemd/system/qrz.service - - source: salt://qrz/qrz.service.j2 + - source: salt://qrz/templates/qrz.service.j2 - user: root - group: root - template: jinja diff --git a/states/qrz/qrz.service.j2 b/states/qrz/templates/qrz.service.j2 similarity index 92% rename from states/qrz/qrz.service.j2 rename to states/qrz/templates/qrz.service.j2 index dcc484f..8dcb48c 100644 --- a/states/qrz/qrz.service.j2 +++ b/states/qrz/templates/qrz.service.j2 @@ -9,4 +9,4 @@ Type=simple ExecStart={{ qrz.install_dir }}/qrz/qrz -configfile {{ qrz.install_dir }}/config/common.ini -port {{ qrz.port }} [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target