one_debian_init.patch

load oneadmin's .profile before starting oned - Vivien Bernet-Rollande, 06/10/2011 01:47 PM

Download (375 Bytes)

View differences:

share/etc/init.d/one.debian
36 36
{
37 37
	mkdir -p /var/run/one /var/lock/one
38 38
	chown oneadmin /var/run/one /var/lock/one
39
	su oneadmin -s /bin/sh -c 'one start'
39
	su - oneadmin -s /bin/bash -c 'one start'
40 40
}
41 41

  
42 42
#