1 |
Am 11.10.2011 23:04, schrieb Canek Peláez Valdés: |
2 |
|
3 |
[...] |
4 |
|
5 |
> systemctl status ssd-thingies.service |
6 |
> |
7 |
> If everything went OK, it should have a line like this: |
8 |
> |
9 |
> Process: 1234 ExecStart=/my/path/to/ssd-thingies (code=exited, status=0/SUCCESS) |
10 |
> |
11 |
> Regards. |
12 |
|
13 |
Thanks for the explanation! |
14 |
|
15 |
I tried it right now, unfortunately I get: |
16 |
|
17 |
# systemctl status ssd-thingies.service |
18 |
ssd-thingies.service - SSD thingies |
19 |
Loaded: loaded (/etc/systemd/system/ssd-thingies.service) |
20 |
Active: failed since Tue, 11 Oct 2011 23:28:05 +0200; 21s ago |
21 |
Process: 6696 ExecStart=/etc/local.d/stefan.start (code=exited, |
22 |
status=203/EXEC) |
23 |
CGroup: name=systemd:/system/ssd-thingies.service |
24 |
|
25 |
Is it a permission-issue? AFAIK systemd runs w/ root? |
26 |
|
27 |
|
28 |
# cat /etc/systemd/system/ssd-thingies.service |
29 |
|
30 |
[Unit] |
31 |
Description=SSD thingies |
32 |
After=basic.target |
33 |
|
34 |
[Service] |
35 |
Type=oneshot |
36 |
ExecStart=/etc/local.d/stefan.start |
37 |
|
38 |
[Install] |
39 |
WantedBy=multi-user.target |
40 |
|
41 |
|
42 |
# ll /etc/local.d/stefan.start |
43 |
-rwxr-xr-x 1 root root 795 11. Okt 16:47 /etc/local.d/stefan.start |
44 |
|
45 |
--- |
46 |
|
47 |
Thanks, greets, Stefan |