Skip to content

Commit

Permalink
fix: run producer_import as off user (#9557)
Browse files Browse the repository at this point in the history
Co-authored-by: OFF <[email protected]>
  • Loading branch information
stephanegigandet and OFF authored Dec 19, 2023
1 parent 5404660 commit b387293
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conf/systemd/[email protected]
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[Unit]
Description=Generates %i daily feeds
Description=Import data from producers %i
# __ will be replaced by @ in [email protected]
OnFailure=email-failures@producers_import__%i.service

[Service]
User=off
Group=off
Type=oneshot
# service instance name "%i" is off-pro
Environment=PERL5LIB=/srv/%i/lib/:/usr/local/share/perl/5.32.1/:/usr/lib/perl5
Expand Down

0 comments on commit b387293

Please sign in to comment.