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:
parent
b2a0bf4aef
commit
6dca8003ac
|
@ -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'
|
||||
|
|
|
@ -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 }}'
|
||||
|
|
Loading…
Reference in New Issue