You are not logged in.
hello,
i can start them with "systemctl start lighttpd.service" and "systemctl start mysqld.service" in terminal,
but if i try "systemctl enable lighttpd.service" or "systemctl enable mysqld.service" it says:
Failed to issue method call: No such file or directory
also i could not find any of this service files on my system to link them manually...
help please!
ty, marijus
Offline
also i could not find any of this service files on my system to link them manually...
Therein lies your problem. Systemd is very much a work in progress. See this wiki page for a mysql service file. I am not sure one has been written for lighttpd yet.
Last edited by graysky (2012-04-17 12:29:24)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@graysky
thats the thing i dont understand:
there def is no .service files for this two apps. but why does it start with "systemctl start lighttpd.service" at all?
Offline
@graysky
thats the thing i dont understand:there def is no .service files for this two apps. but why does it start with "systemctl start lighttpd.service" at all?
what does "systemctl status lighttpd.service" say?
Offline
@65kid
thanks for the hint... now i understand
# systemctl status lighttpd.service
lighttpd.service
Loaded: loaded (/etc/rc.d/lighttpd)
Active: inactive (dead)
CGroup: name=systemd:/system/lighttpd.service
# systemctl status mysqld.service
mysqld.service
Loaded: loaded (/etc/rc.d/mysqld)
Active: inactive (dead)
CGroup: name=systemd:/system/mysqld.service
EDIT: ist there still a way to start during bootup?
Last edited by marijus (2012-04-17 17:03:43)
Offline
Gentoo might have something useful here; http://en.gentoo-wiki.com/wiki/Systemd#lighttpd
Offline
interesting, didn't know that systemd does that automatically. Nevertheless, native service files are always better. put them in /etc/systemd/system and "enable" should work fine.
https://wiki.archlinux.org/index.php/Sy … ces#mysqld
http://en.gentoo-wiki.com/wiki/Systemd#lighttpd
Offline