Skip to content

Commit

Permalink
ci!: update bundled systemd config to use non-root user
Browse files Browse the repository at this point in the history
We already run as `nobody` in the docker container, we have no reason to
run as root here. This was an oversight.
  • Loading branch information
tjhop committed Oct 1, 2024
1 parent 29e1153 commit e3e6c5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packaging/systemd/ns1_exporter.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Wants=network.target
After=network.target

[Service]
DynamicUser=true
ExecStart=/usr/bin/ns1_exporter
Restart=on-failure
KillSignal=SIGINT
Expand Down

0 comments on commit e3e6c5f

Please sign in to comment.