Strange behaviour when using -DFOREGROUND
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Strange behaviour when using -DFOREGROUND
- From: Bachsau <web@xxxxxxxxxxxx>
- Date: Tue, 10 Jul 2018 03:42:02 +0200
- Reply-to: users@xxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0
Hi! I just installed Apache 2 on my Arch Linux Desktop machine for
testing purposes and instead of running it as a system wide service
through systemd I run it under my default user session whenever I need
it, using the following command:
/usr/bin/httpd -d "$HOME/Webserver" -f "$HOME/Webserver/httpd.conf"
-DFOREGROUND
Of course I did setup a working environment for it there.
Now I switched my configuration to use mpm_prefork and discovered a
strange behaviour which I do not understand: Whenever stopping a server
(by using -k stop or SIGTERM) started with -DFOREGROUND through a
.desktop starter, it not just kills the server and its children but my
whole desktop session, throwing me back to the display manager's login
screen. It does not happen when the commands are executed from a
terminal window.
Does anybody know why this happens? Is it a bug? It thought DFOREGROUND
should just keep it from detaching from terminal, therefore being a
harmless option.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]