Lines 12-18
Link Here
|
12 |
# tracd fails to create pidfile if started as non-root user, thus we are asking |
12 |
# tracd fails to create pidfile if started as non-root user, thus we are asking |
13 |
# s-s-d to do that. To have correct pid we avoid -d option of tracd and use |
13 |
# s-s-d to do that. To have correct pid we avoid -d option of tracd and use |
14 |
# --background option of s-s-d. |
14 |
# --background option of s-s-d. |
15 |
start-stop-daemon --start --chuid ${TRACD_USER:-tracd}:${TRACD_GROUP:-tracd} \ |
15 |
start-stop-daemon --start --user ${TRACD_USER:-tracd}:${TRACD_GROUP:-tracd} \ |
16 |
--pidfile /var/run/tracd.pid --make-pidfile --background \ |
16 |
--pidfile /var/run/tracd.pid --make-pidfile --background \ |
17 |
--env PYTHON_EGG_CACHE="/var/lib/trac/egg-cache" \ |
17 |
--env PYTHON_EGG_CACHE="/var/lib/trac/egg-cache" \ |
18 |
--exec /usr/bin/tracd -- \ |
18 |
--exec /usr/bin/tracd -- \ |