routeros: Don't run mqtt publish script as root
This commit is contained in:
parent
894f69f82f
commit
3a21dbfa35
3 changed files with 19 additions and 7 deletions
|
@ -25,6 +25,7 @@
|
|||
name: routeros
|
||||
comment: RouterOS Downloader
|
||||
group: routeros
|
||||
groups: hostkey
|
||||
create_home: false
|
||||
home: /var/empty
|
||||
shell: /sbin/nologin
|
||||
|
@ -74,4 +75,5 @@
|
|||
ansible.builtin.cron:
|
||||
name: routeros-poe-mqtt-publish
|
||||
job: /usr/local/bin/routeros-poe-mqtt-publish
|
||||
user: routeros
|
||||
minute: "*/5"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue