1 |
Randy Barlow wrote: |
2 |
> So I think the problem is with how I am using start-stop-daemon. I |
3 |
> tried to run the command manually: |
4 |
> |
5 |
> booty ~ # start-stop-daemon --start --pidfile |
6 |
> /var/run/backuppcApache2.pid --exec /usr/sbin/apache2 -- -D |
7 |
> BACKUPPC_VHOST -f /etc/BackupPC/httpd.conf -k start |
8 |
> httpd (pid 1450) already running |
9 |
> |
10 |
> I thought that the fact that I specified --pidfile should tell it to use |
11 |
> a different pid file. This is how I interpreted the man page. Am I |
12 |
> incorrect? |
13 |
|
14 |
I am digging deeper, and I am finding that it might even be within the |
15 |
apache server. |
16 |
|
17 |
booty ~ # /usr/sbin/apache2 -D BACKUPPC_VHOST -f |
18 |
/etc/BackupPC/httpd.conf -k start |
19 |
httpd (pid 1450) already running |
20 |
|
21 |
I have in my /etc/BackupPC/httpd.conf these lines: |
22 |
|
23 |
LockFile "/usr/lib/backuppcApache2.lock" |
24 |
PidFile "/var/run/backuppcApache2.pid" |
25 |
|
26 |
So why is it trying to use that same pid? |
27 |
|
28 |
-- |
29 |
Randy Barlow |
30 |
http://electronsweatshop.com |
31 |
-- |
32 |
gentoo-server@g.o mailing list |