Use rvm default alias instead of pinned ruby version in ExecStart
This commit is contained in:
1 parent
383628d2fa
commit
30502cbd19
1 file changed
+1
-1
+1
-1
@@ -7,7 +7,7 @@ Type=simple
|
|||||||
User=randy
|
User=randy
|
||||||
Group=users
|
Group=users
|
||||||
WorkingDirectory=/opt/sinatra
|
WorkingDirectory=/opt/sinatra
|
||||||
ExecStart=/home/randy/.rvm/bin/rvm ruby-4.0.5 do bundle exec ruby app.rb
|
ExecStart=/home/randy/.rvm/bin/rvm default do bundle exec ruby app.rb
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in new issue
Block a user