You are not logged in.
Greetings,
I am running Arch with systemd instead of the usual init scripts, and have troubles with running Apache over systemd. I have created a service file, according to the documentation on the system services wiki page but it seems, Apache never successfuly starts claiming that it can not bind to 127.0.0.1.
/etc/systemd/system/httpd.service
[Unit]
Description=Apache Webserver
After=network.target
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/apache
ExecStart=/usr/sbin/httpd -k start $OPTIONS
ExecStop=/usr/sbin/httpd -k graceful-stop $OPTIONS
ExecReload=/usr/sbin/httpd -k graceful $OPTIONS
Restart=always
[Install]
WantedBy=multi-user.target
/etc/tmpfiles.d/httpd.conf
D /var/run/httpd 0755 http http -
It seems, the service is configured to wait for the network target but does not actually wait for it.
Any hints for me?
WkR,
Daniel
Last edited by marenkay (2012-05-31 06:43:36)
Offline
Try systemd-httpd-units from the AUR.
Offline
Oh my, and there also is a systemd-mysqld-units package in AUR. Thanks a lot.
Offline
Mark [solved] please.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
In case anyone runs across this, apache and mysql already ship with systemd units so don't install these. [close]
Last edited by amadar (2012-11-13 07:30:24)
Offline