1 |
commit: 697a59402c1d5f411c483b5f77c38c14083e81ea |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 1 10:53:01 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 1 10:53:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=697a5940 |
7 |
|
8 |
net-dialup/mgetty: add missing systemd unit |
9 |
|
10 |
Closes: https://bugs.gentoo.org/773490 |
11 |
Closes: https://bugs.gentoo.org/773514 |
12 |
Package-Manager: Portage-3.0.16, Repoman-3.0.2 |
13 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
14 |
|
15 |
net-dialup/mgetty/files/mgetty.service | 12 ++++++++++++ |
16 |
1 file changed, 12 insertions(+) |
17 |
|
18 |
diff --git a/net-dialup/mgetty/files/mgetty.service b/net-dialup/mgetty/files/mgetty.service |
19 |
new file mode 100644 |
20 |
index 00000000000..2ca018ed49f |
21 |
--- /dev/null |
22 |
+++ b/net-dialup/mgetty/files/mgetty.service |
23 |
@@ -0,0 +1,12 @@ |
24 |
+[Unit] |
25 |
+Description=Smart Modem Getty |
26 |
+Documentation=man:mgetty(8) |
27 |
+ |
28 |
+[Service] |
29 |
+ExecStart=/usr/sbin/mgetty /dev/%i |
30 |
+Restart=always |
31 |
+PIDFile=/run/mgetty.%i.pid |
32 |
+Type=simple |
33 |
+ |
34 |
+[Install] |
35 |
+WantedBy=multi-user.target |