On Thu, 26.04.12 21:10, ZiQiang Huan ([email protected]) wrote:

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

syslog.target is not really necessary anymore these days.

> 
> [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 

This looks like a simple typo: "telnetd.servcie" is not a valid service
name, and should probably be "telnetd.service".

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to