updated qrz state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-09-06 17:19:41 +02:00
parent ccba030a2e
commit 2fd7a06640
3 changed files with 30 additions and 5 deletions

View File

@ -8,5 +8,9 @@ qrz:
version: 1.3.4 version: 1.3.4
os: linux os: linux
arch: amd64 arch: amd64
user: qrz user:
group: qrz name: qrz
uid: 902
group:
name: qrz
gid: 902

View File

@ -20,11 +20,32 @@ qrz-binary-symlink:
- watch_in: - watch_in:
- service: qrz-service - service: qrz-service
qrz-group:
group.present:
- name: {{ qrz.group.name }}
- gid: {{ qrz.group.gid }}
- watch_in:
- service: qrz-service
qrz-user:
user.present:
- name:{{ qrz.user.name }}
- uid: {{ qrz.user.uid }}
- gid: {{ qrz.group.gid }}
- shell: /sbin/nologin
- allow_uid_change: true
- allow_gid_change: true
- home: /var/lib/qrz
- watch_in:
- service: qrz-service
qrz-directory: qrz-directory:
file.directory: file.directory:
- name: /var/lib/qrz - name: /var/lib/qrz
- user: {{ qrz.user }} - user: {{ qrz.user.name }}
- group: {{ qrz.group }} - group: {{ qrz.group.name }}
- watch_in:
- service: qrz-service
qrz-cleanup: qrz-cleanup:
software.cleanup: software.cleanup:

View File

@ -6,7 +6,7 @@ After=network.target postgresql.service
[Service] [Service]
Type=simple Type=simple
User={{ qrz.user }} User={{ qrz.user.name }}
ExecStart={{ qrz.install_dir }}/qrz/qrz -configfile {{ qrz.install_dir }}/config/common.ini -port {{ qrz.port }} ExecStart={{ qrz.install_dir }}/qrz/qrz -configfile {{ qrz.install_dir }}/config/common.ini -port {{ qrz.port }}
[Install] [Install]