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:
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
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
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