service: use dynamic user instead of nobody

Fixes warnings like:
```
Special user nobody configured, this is not safe!
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-08-26 19:10:27 +02:00
parent b2a0bf4aef
commit 6dca8003ac
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
2 changed files with 2 additions and 4 deletions

View File

@ -2,8 +2,7 @@
# Systemd timer for periodic re-connecting.
waku_peers_timer_name: 'waku-peers'
waku_peers_timer_description: 'Script for connecting waku fleet peers.'
waku_peers_timer_user: 'nobody'
waku_peers_timer_group: 'nogroup'
waku_peers_timer_dynamic_user: true
waku_peers_timer_frequency: 'hourly'
waku_peers_timer_timeout_sec: 120
waku_peers_timer_restart: 'on-failure'

View File

@ -23,8 +23,7 @@
systemd_timer_requires_extra: 'consul.service'
systemd_timer_start_on_creation: true
systemd_timer_enabled: '{{ waku_peers_timer_enabled }}'
systemd_timer_user: '{{ waku_peers_timer_user }}'
systemd_timer_group: '{{ waku_peers_timer_group }}'
systemd_timer_dynamic_user: '{{ waku_peers_timer_dynamic_user }}'
systemd_timer_frequency: '{{ waku_peers_timer_frequency }}'
systemd_timer_timeout_sec: '{{ waku_peers_timer_timeout_sec }}'
systemd_timer_restart: '{{ waku_peers_timer_restart }}'