Skip to content

Commit

Permalink
fixup! fixup! Convert the Send Notifications daemon to a systemd unit
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Jan 5, 2024
1 parent a6e6d2c commit f98d152
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions config/send-notifications.service.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ After=syslog.target network.target

[Service]
Type=simple
<% if use_rbenv? -%>
Environment=RBENV_ROOT="/home/<%= user %>/.rbenv"
Environment=PATH="$RBENV_ROOT/bin:$RBENV_ROOT/shims:$PATH"
Environment=SET_PATH="cd <%= vhost_dir %>/<%= vcspath %>; rbenv rehash; rbenv local <%= ruby_version %>"
<% else -%>
Environment=PATH="/usr/local/bin:/usr/bin:/bin"
<% end -%>
Environment=PATH="<%= ruby_path %>:/usr/local/bin:/usr/bin:/bin"
<% unless rails_env_defined? -%>
Environment=RAILS_ENV=<%= rails_env %>
<% end -%>
Expand Down

0 comments on commit f98d152

Please sign in to comment.