one_debian_init.patch
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 |
# |