Am 11.10.2011 23:04, schrieb Canek Peláez Valdés:
[...]
> systemctl status ssd-thingies.service
>
> If everything went OK, it should have a line like this:
>
> Process: 1234 ExecStart=/my/path/to/ssd-thingies (code=exited,
> status=0/SUCCESS)
>
> Regards.
Thanks for the explanation!
I tried it right now, unfortunately I get:
# systemctl status ssd-thingies.service
ssd-thingies.service - SSD thingies
Loaded: loaded (/etc/systemd/system/ssd-thingies.service)
Active: failed since Tue, 11 Oct 2011 23:28:05 +0200; 21s ago
Process: 6696 ExecStart=/etc/local.d/stefan.start (code=exited,
status=203/EXEC)
CGroup: name=systemd:/system/ssd-thingies.service
Is it a permission-issue? AFAIK systemd runs w/ root?
# cat /etc/systemd/system/ssd-thingies.service
[Unit]
Description=SSD thingies
After=basic.target
[Service]
Type=oneshot
ExecStart=/etc/local.d/stefan.start
[Install]
WantedBy=multi-user.target
# ll /etc/local.d/stefan.start
-rwxr-xr-x 1 root root 795 11. Okt 16:47 /etc/local.d/stefan.start
---
Thanks, greets, Stefan