Skip to content

Commit

Permalink
fix: fix user for gen_feeds (#9388)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel authored Nov 23, 2023
1 parent ae71756 commit 1957623
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions conf/systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ OnFailure=email-failures@cloud_vision_ocr__%i.service
[Service]
Type=simple
User=off
Group=off
WorkingDirectory=/srv/%i/
Environment="PERL5LIB=/srv/%i/lib"
ExecStart=/srv/%i/scripts/run_cloud_vision_ocr.pl /srv/%i/new_images
Expand Down
2 changes: 2 additions & 0 deletions conf/systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Description=Generates regular %i feeds
OnFailure=email-failures@gen_feeds__%i.service

[Service]
User=off
Group=off
Type=oneshot
# service instance name "%i" is off / obf / opff / opf
Environment=PERL5LIB=/srv/%i/lib/:/usr/local/share/perl/5.32.1/:/usr/lib/perl5
Expand Down
2 changes: 2 additions & 0 deletions conf/systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Description=Generates %i daily feeds
OnFailure=email-failures@gen_feeds_daily__%i.service

[Service]
User=off
Group=off
Type=oneshot
# service instance name "%i" is off / obf / opff / opf
Environment=PERL5LIB=/srv/%i/lib/:/usr/local/share/perl/5.32.1/:/usr/lib/perl5
Expand Down
1 change: 1 addition & 0 deletions conf/systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ OnFailure=email-failures@minion__%i.service
[Service]
Type=simple
User=off
Group=off
WorkingDirectory=/srv/%i
Environment="PERL5LIB=/srv/%i/lib"
ExecStart=/srv/%i/scripts/minion_producers.pl minion worker -m production
Expand Down

0 comments on commit 1957623

Please sign in to comment.