summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-10-04 13:10:41 +0200
committerTom Gundersen <teg@jklm.no>2014-10-04 13:19:18 +0200
commit2355af60dc0c0ec2b7fbe69f15a77d980b017b3f (patch)
tree57047ca8a88e254b8acf0478dac2c1e9a9ff4267 /units
parent10595afb4c007a764b91d28ede5faa00bcb28428 (diff)
consoled: add a unit file
The unit file is statically enabled, but still requires --enable-terminal to actually get installed.
Diffstat (limited to 'units')
-rw-r--r--units/user/.gitignore1
-rw-r--r--units/user/systemd-consoled.service.in15
2 files changed, 16 insertions, 0 deletions
diff --git a/units/user/.gitignore b/units/user/.gitignore
index 6aa54754c..c91ed626c 100644
--- a/units/user/.gitignore
+++ b/units/user/.gitignore
@@ -1,2 +1,3 @@
/systemd-exit.service
/systemd-bus-proxyd@.service
+/systemd-consoled.service
diff --git a/units/user/systemd-consoled.service.in b/units/user/systemd-consoled.service.in
new file mode 100644
index 000000000..fd7938aa8
--- /dev/null
+++ b/units/user/systemd-consoled.service.in
@@ -0,0 +1,15 @@
+# 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=Console Manager and Terminal Emulator
+
+[Service]
+Type=notify
+Restart=always
+RestartSec=0
+ExecStart=@rootlibexecdir@/systemd-consoled