1
0
Fork 0

Fix systemd services

This commit is contained in:
Alex Kotov 2019-01-29 06:16:06 +05:00
parent 1d00a58f98
commit cbb250468b
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ After=syslog.target network.target
Description=Partynest web server
[Service]
ExecStart=/usr/bin/bundle exec puma --environment production
ExecStart=/usr/local/rvm/bin/rvm default do bundle exec puma --environment production
Group=group
Restart=always
RestartSec=1
@ -81,7 +81,7 @@ After=syslog.target network.target
Description=Partynest job processing
[Service]
ExecStart=/usr/bin/bundle exec sidekiq --environment production
ExecStart=/usr/local/rvm/bin/rvm default do bundle exec sidekiq --environment production
Group=group
Restart=always
RestartSec=1