Re: [systemd-devel] Problem converting an rc script

2013-04-08 Thread John Lane
On 07/04/13 20:45, Mantas Mikulėnas wrote: On Sun, Apr 7, 2013 at 10:21 PM, John Lane wrote: I have been trying to replace an rc script with a systemd unit file. It is for an rvm (ruby version manager) environment and it starts a documentation web server. I tried to create a service unit thus:

Re: [systemd-devel] Problem converting an rc script

2013-04-08 Thread Mantas Mikulėnas
On Mon, Apr 8, 2013 at 3:06 PM, John Lane wrote: > On 07/04/13 20:45, Mantas Mikulėnas wrote: >> I use rbenv to manage different Ruby versions, and while it probably >> doesn't offer the same functionality as rvm, it's also much simpler to >> use: it only needs /shims to be added to $PATH. > > I w

Re: [systemd-devel] Problem converting an rc script

2013-04-07 Thread Mantas Mikulėnas
On Sun, Apr 7, 2013 at 10:21 PM, John Lane wrote: > I have been trying to replace an rc script with a systemd unit file. It is > for an rvm (ruby version manager) environment and it starts a documentation > web server. I tried to create a service unit thus: > > [Service] > Type=forking > User=rvm

[systemd-devel] Problem converting an rc script

2013-04-07 Thread John Lane
I have been trying to replace an rc script with a systemd unit file. It is for an rvm (ruby version manager) environment and it starts a documentation web server. I tried to create a service unit thus: [Service] Type=forking User=rvm ExecStartPre=/bin/bash --login /etc/profile.d/rvm.sh ExecStar