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.
[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
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?
Last edited by marenkay (2012-05-31 06:43:36)
Try systemd-httpd-units from the AUR.
Oh my, and there also is a systemd-mysqld-units package in AUR. Thanks a lot.
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.
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)