[systemd-devel] cannot add dependency service to graphical.target

ZiQiang Huan hzqhuan at gmail.com
Thu Apr 26 06:10:39 PDT 2012


hi, everyone,
I try to write a systemd service just like below:
[Unit]
Description=service for telnetd
Wants=syslog.target

[Service]
ExecStart=/usr/bin/busybox telnetd
Restart=always
RestartSec=10

[Install]
WantedBy=graphical.target

but when I boot up, I got the error below: 
systemd[1]: Cannot add dependency telnetd.servcie to graphical.target, ignoring: Invalid argument 

I don't know what's wrong with it, so any advice for this?

Best regards, 
zqhuan 




ZiQiang Huan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120426/29546e51/attachment.htm>


More information about the systemd-devel mailing list