Skip to content

Commit

Permalink
Update import-email-to-piler.service to use --no-block option when st…
Browse files Browse the repository at this point in the history
…arting the service
  • Loading branch information
stephdl committed Apr 29, 2024
1 parent 618b6ac commit 5c10885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion imageroot/actions/configure-module/91import-email
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ if [[ -f 'sync2pilerdone' ]]; then
echo "## sync2pilerdone file is found, mail already migrated, exiting"
exit 0
fi
systemctl --user start import-email-to-piler.service
systemctl --user start --no-block import-email-to-piler.service
4 changes: 2 additions & 2 deletions imageroot/systemd/user/import-email-to-piler.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Description= import emails to piler

[Service]
ExecStart=/usr/local/bin/runagent import-emails
ExectStartPost=/usr/bin/touch sync2pilerdone
Type=simple
ExecStart=/usr/bin/touch sync2pilerdone
Type=oneshot

0 comments on commit 5c10885

Please sign in to comment.