From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] systemd
Date: Tue, 11 Oct 2011 14:04:32 -0700 [thread overview]
Message-ID: <CADPrc81Cnf_QCq3TCy+T9stceJ=EtB-Lj9qsOd8ogzr=kzMxRg@mail.gmail.com> (raw)
In-Reply-To: <4E94A695.3000600@xunil.at>
On Tue, Oct 11, 2011 at 1:27 PM, Stefan G. Weichinger <lists@xunil.at> wrote:
>
>
> Didn't do much research around this lately.
>
> Today I revived my SSD (we'll see) and therefore fell over systemd when
> I edited grub.conf
>
> Where would/should I put stuff from /etc/local.d/ with systemd?
>
> I have some commands there setting parameters for ssd-usage and those
> would be skipped (not executed) with systemd.
Those command are on a script, right? Lets say the script is called
ssd-thingies; you put this on
/etc/systemd/system/ssd-thingies.service:
----------------------------------------------
[Unit]
Description=SSD thingies
After=basic.target
[Service]
Type=oneshot
ExecStart=/my/path/to/ssd-thingies
[Install]
WantedBy=multi-user.target
-----------------------------------------------
Then you run:
systemctl daemon-reload
systemctl enable ssd-thingies.service
Next time you reboot, the service will be called after the
basic.target has been completed. You can look at the status of the
script afterwards with
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.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
next prev parent reply other threads:[~2011-10-11 21:06 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-17 21:04 [gentoo-user] systemd Stefan G. Weichinger
2011-08-17 22:54 ` Sebastian Beßler
2011-08-20 20:22 ` Stefan G. Weichinger
2011-08-20 20:54 ` Sebastian Beßler
2011-08-21 17:07 ` Stefan G. Weichinger
2011-08-22 8:26 ` Stefan G. Weichinger
2011-08-22 9:54 ` Stefan G. Weichinger
2011-08-22 10:26 ` Joost Roeleveld
2011-08-22 10:31 ` Stefan G. Weichinger
2011-08-22 11:42 ` Joost Roeleveld
2011-08-22 16:55 ` Stefan G. Weichinger
2011-08-22 17:03 ` Joost Roeleveld
2011-08-22 18:24 ` Stefan G. Weichinger
2011-08-22 18:29 ` Stefan G. Weichinger
2011-08-22 21:09 ` Stefan G. Weichinger
2011-08-23 6:27 ` Joost Roeleveld
2011-08-23 8:30 ` Stefan G. Weichinger
2011-08-23 9:04 ` Joost Roeleveld
2011-08-23 9:17 ` Stefan G. Weichinger
2011-08-23 9:22 ` Stefan G. Weichinger
2011-08-23 22:00 ` Stefan G. Weichinger
2011-08-24 7:03 ` Joost Roeleveld
2011-08-23 6:27 ` Joost Roeleveld
2011-08-23 17:17 ` Stroller
2011-08-23 17:49 ` Canek Peláez Valdés
2011-08-23 18:57 ` Alan McKinnon
2011-08-23 19:06 ` Canek Peláez Valdés
2011-08-23 19:43 ` Alan McKinnon
2011-08-23 19:50 ` Canek Peláez Valdés
2011-08-23 20:19 ` Alan McKinnon
2011-08-23 20:32 ` Canek Peláez Valdés
2011-08-24 21:19 ` [gentoo-user] systemd walt
2011-08-24 21:28 ` Alan McKinnon
2011-08-23 20:16 ` [gentoo-user] systemd Sebastian Beßler
2011-08-23 20:43 ` Alan McKinnon
2011-08-23 21:10 ` kashani
2011-08-23 21:22 ` Alan McKinnon
2011-08-24 4:15 ` Dale
2011-08-24 7:10 ` Joost Roeleveld
2011-08-30 11:56 ` Alex Schuster
2011-08-30 12:13 ` Michael Schreckenbauer
2011-08-30 15:11 ` Canek Peláez Valdés
2011-08-30 23:01 ` Alex Schuster
2011-08-30 23:18 ` Michael Mol
2011-09-01 21:48 ` Alan McKinnon
2011-09-01 22:32 ` Canek Peláez Valdés
2011-09-01 23:27 ` Alan McKinnon
2011-09-02 7:33 ` Mick
2011-09-02 15:28 ` Alan McKinnon
2011-09-03 0:05 ` Neil Bothwick
2011-09-03 7:56 ` Mick
2011-09-03 8:38 ` Neil Bothwick
2011-09-03 9:52 ` Alan McKinnon
2011-09-03 9:40 ` Alan McKinnon
2011-09-03 10:07 ` Neil Bothwick
2011-09-03 13:09 ` Peter Humphrey
2011-09-03 13:21 ` Alan McKinnon
2011-09-03 23:52 ` Peter Humphrey
2011-09-04 0:19 ` Alan McKinnon
2011-09-04 0:44 ` Peter Humphrey
2011-09-04 9:33 ` Peter Humphrey
2011-08-31 13:13 ` [gentoo-user] systemd walt
2011-10-11 20:27 ` [gentoo-user] systemd Stefan G. Weichinger
2011-10-11 21:04 ` Canek Peláez Valdés [this message]
2011-10-11 21:33 ` Stefan G. Weichinger
2011-10-11 22:23 ` Canek Peláez Valdés
2011-10-11 22:39 ` Stefan G. Weichinger
2011-10-11 22:47 ` Canek Peláez Valdés
2011-10-11 22:49 ` Stefan G. Weichinger
-- strict thread matches above, loose matches on Subject: below --
2017-11-04 16:15 [gentoo-user] Systemd siefke_listen
2017-11-04 16:58 ` Neil Bothwick
2017-11-04 20:30 ` siefke_listen
2011-08-16 0:28 [gentoo-user] OT: but cool - NASDAQ is gentoo powered Adam Carter
2011-08-16 1:48 ` Michael Mol
2011-08-16 17:06 ` Canek Peláez Valdés
2011-08-16 20:58 ` Stefan G. Weichinger
2011-08-16 21:06 ` Paul Hartman
2011-08-16 23:24 ` Canek Peláez Valdés
2011-08-17 14:04 ` Stefan G. Weichinger
2011-08-17 14:47 ` [gentoo-user] systemd (was: NASDAQ is gentoo powered) Stefan G. Weichinger
2011-08-17 15:00 ` [gentoo-user] systemd Stefan G. Weichinger
2011-08-17 16:00 ` Stefan G. Weichinger
2011-08-17 18:48 ` Stefan G. Weichinger
2011-08-17 19:20 ` Stefan G. Weichinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADPrc81Cnf_QCq3TCy+T9stceJ=EtB-Lj9qsOd8ogzr=kzMxRg@mail.gmail.com' \
--to=caneko@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox