summaryrefslogtreecommitdiffstats
path: root/units/systemd-hostnamed.socket
diff options
context:
space:
mode:
Diffstat (limited to 'units/systemd-hostnamed.socket')
-rw-r--r--units/systemd-hostnamed.socket19
1 files changed, 19 insertions, 0 deletions
diff --git a/units/systemd-hostnamed.socket b/units/systemd-hostnamed.socket
new file mode 100644
index 0000000..2a2cfce
--- /dev/null
+++ b/units/systemd-hostnamed.socket
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Hostname Service Socket
+Documentation=man:systemd-hostnamed.service(8)
+Documentation=man:hostname(5)
+Documentation=man:machine-info(5)
+
+[Socket]
+ListenStream=/run/systemd/io.systemd.Hostname
+FileDescriptorName=varlink
+SocketMode=0666