Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: lists@×××××.at
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] systemd
Date: Tue, 11 Oct 2011 22:48:28
Message-Id: CADPrc82oxY-ZwvZa+kUh_OZDri6E3S7vOqWb1G89e_5O+Fo6AA@mail.gmail.com
In Reply to: Re: [gentoo-user] systemd by "Stefan G. Weichinger"
1 On Tue, Oct 11, 2011 at 3:39 PM, Stefan G. Weichinger <lists@×××××.at> wrote:
2 > Am 12.10.2011 00:23, schrieb Canek Peláez Valdés:
3 >
4 >> Your script (I believe) does not have execution perms. All the
5 >> commands for ExecStart (and ExecStop) need to be executable, so do a
6 >>
7 >> chmod +x /etc/local.d/stefan.start
8 >
9 > I showed you before:
10 >
11 > # ll /etc/local.d/stefan.start
12 > -rwxr-xr-x 1 root root 795 11. Okt 16:47 /etc/local.d/stefan.start
13
14 Sorry, didn't see it. Can you execute it calling it directly? Maybe
15 it's missing the proper shebang.
16
17 >> Also, if your scripts does not return 0 (or the last command it
18 >> executes does not return 0), it will tell you with the status= flag.
19 >
20 > Will check this.
21
22 I really think is that systemd cannot execute it, but check that also.
23
24 Regards.
25 --
26 Canek Peláez Valdés
27 Posgrado en Ciencia e Ingeniería de la Computación
28 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] systemd "Stefan G. Weichinger" <lists@×××××.at>