Skip to content

Commit

Permalink
run as nobody
Browse files Browse the repository at this point in the history
  • Loading branch information
antifob committed Jun 16, 2019
1 parent e2c107a commit a8a51fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion files/cloudflared.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ After=syslog.target network-online.target

[Service]
Type=simple
User=cloudflared
User=nobody
EnvironmentFile=/etc/default/cloudflared
ExecStart=/usr/local/bin/cloudflared $CLOUDFLARED_OPTS
Restart=on-failure
Expand Down
5 changes: 0 additions & 5 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
register: update_command
changed_when: update_command.rc == '64'

- name: create application user
user:
name: cloudflared
system: yes

- name: template config file
template:
src: cloudflared.j2
Expand Down

0 comments on commit a8a51fb

Please sign in to comment.