summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-03-01 11:53:01 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-03-01 11:53:01 +0100
commit697a59402c1d5f411c483b5f77c38c14083e81ea (patch)
tree14f30909a9f6e331ca2e043fb56ec42ce2c91602 /net-dialup/mgetty
parentgames-strategy/0ad: add virtual/rust BDEPEND for SpiderMonkey (diff)
downloadgentoo-697a59402c1d5f411c483b5f77c38c14083e81ea.tar.gz
gentoo-697a59402c1d5f411c483b5f77c38c14083e81ea.tar.bz2
gentoo-697a59402c1d5f411c483b5f77c38c14083e81ea.zip
net-dialup/mgetty: add missing systemd unit
Closes: https://bugs.gentoo.org/773490 Closes: https://bugs.gentoo.org/773514 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-dialup/mgetty')
-rw-r--r--net-dialup/mgetty/files/mgetty.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-dialup/mgetty/files/mgetty.service b/net-dialup/mgetty/files/mgetty.service
new file mode 100644
index 000000000000..2ca018ed49f4
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Smart Modem Getty
+Documentation=man:mgetty(8)
+
+[Service]
+ExecStart=/usr/sbin/mgetty /dev/%i
+Restart=always
+PIDFile=/run/mgetty.%i.pid
+Type=simple
+
+[Install]
+WantedBy=multi-user.target