Gentoo Archives: gentoo-amd64

From: Jonathan Callen <jcallen@g.o>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: Systemd Was: Please get me straight about sysvinit vs. systemd [...]
Date: Sat, 15 Mar 2014 06:22:04
Message-Id: 5323F172.7010301@gentoo.org
In Reply to: [gentoo-amd64] Re: Systemd Was: Please get me straight about sysvinit vs. systemd [...] by Duncan <1i5t5.duncan@cox.net>
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 On 03/13/2014 03:20 PM, Duncan wrote:
5 > Duncan posted on Thu, 13 Mar 2014 13:45:14 +0000 as excerpted:
6 >
7 >> 2b) I wasn't satisfied with the default gpm unit file config either, but by the time I got to
8 >> that, I knew .includes were deprecated, and was in the process of trying to figure out what
9 >> the allusion to *.d/*.conf was all about.
10 >>
11 >> But once I figured that out for random-seed, I was quickly able to add
12 >> /etc/systemd/system/gpm.service.d/execstart.conf , with a customized ExecStart= line. =:^)
13 >
14 > Turned out that didn't work after all. I thought the modified ExecStart line would replace the
15 > previous one and thought it was working but I guess I hadn't tried a console mouse yet, as that
16 > didn't work. I was getting an error due to the two execstart lines where only one was
17 > allowed.
18 >
19 > So I ended up dup-ing the entire gpm.service file from /usr to /etc and editing the execstart
20 > line as necessary.
21
22 The correct way to do this is to create the file with contents like the following:
23
24 [Service]
25 ExecStart=
26 ExecStart=/usr/bin/gpm --my --options
27
28 The first ExecStart= line is a special case that tells systemd to unset the ExecStart parameter
29 completely so you can override it (instead of adding additional commands to run on startup).
30
31 - --
32 Jonathan Callen
33 -----BEGIN PGP SIGNATURE-----
34 Version: GnuPG v2.0.22 (GNU/Linux)
35 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
36
37 iQIcBAEBCgAGBQJTI/FyAAoJELHSF2kinlg44e8QAJkLXFOr0Dm5KE2fSw01+2JA
38 bSY56oZXoRV1d3dlzM7bfCMDRFTPW4MDWv1+qb6AdH/7+tcb8H/pk2pEgbJtjBw3
39 4oK9uIJOcwYXPlOZU8bVcwQ70cXItlET7waok0h1u0o7WDDabVJi+HFKWMhpHEH1
40 JYM9HnTMx8qujfBxvbOHuOenBRZXpejqrVqo82UPmf2Ot8I+YS5+ACb7Qm3znqFu
41 02fbkb9nfbonqL3YDliqlv3MavCuHBQUCKGFtYtWoEjr0V+GGv+pqHgPzefWcT0F
42 EBMeCOA506bJHgHs+zam010BXlXt+9okr22S5Scvcv/vUIFu7X1AhCcgEfMkTY0o
43 VdFFq0uPncyH51Xnc2GD9+NzYY1ddJu6xA+ysLzJz2JMe0EXRJf67dl2Zp3i/Y48
44 FegAevX34VzilkkBeC4ArP1yPoOXQccy/+lyQT3Q1e5Xwp/65jX0/R8RxIycTIZz
45 vYEc1o84X56ZfvnfzPAr5m0dF9Rg6CUEx0RfDS9mI2VsnjsWOS6otvmfgfGqvBsq
46 aFnrakCh6ZEcvtd1j76yHy3U1rbhbC0kjuaEkjICvCWmNzeQJabqRN1w9Kam5dvF
47 Dureh8SSP3JtxpY7f945yBlmNqewYCjHrjg0BSTlaTXMMLIfrBf11QuEp7vS4s1l
48 7mNWKZP2+HqooMu7WCsJ
49 =ZfwZ
50 -----END PGP SIGNATURE-----

Replies

Subject Author
[gentoo-amd64] Systemd and journald Was: Systemd Duncan <1i5t5.duncan@×××.net>