From 040896afd465d42e5ac4e231c44dd349e31d4870 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 10 Mar 2025 15:12:44 +0200 Subject: [PATCH] Update agetty service files --- services/agetty-tty1.esv | 6 ++++-- services/agetty-tty2.esv | 6 ++++-- services/agetty-tty3.esv | 6 ++++-- services/agetty-tty4.esv | 6 ++++-- services/agetty-tty5.esv | 6 ++++-- services/agetty-tty6.esv | 6 ++++-- 6 files changed, 24 insertions(+), 12 deletions(-) diff --git a/services/agetty-tty1.esv b/services/agetty-tty1.esv index fbb043e..8098657 100644 --- a/services/agetty-tty1.esv +++ b/services/agetty-tty1.esv @@ -1,5 +1,7 @@ name: agetty-tty1 description: Start virtual terminal on tty1 type: background -start_cmd: /sbin/agetty --noclear tty1 -exit_method: kill \ No newline at end of file +start_cmd: /usr/bin/setsid /sbin/agetty --noclear tty1 +exit_method: kill +crash_on_safe_exit: false +restart: always \ No newline at end of file diff --git a/services/agetty-tty2.esv b/services/agetty-tty2.esv index 3dca966..b0658fd 100644 --- a/services/agetty-tty2.esv +++ b/services/agetty-tty2.esv @@ -1,5 +1,7 @@ name: agetty-tty2 description: Start virtual terminal on tty2 type: background -start_cmd: /sbin/agetty --noclear tty2 -exit_method: kill \ No newline at end of file +start_cmd: /usr/bin/setsid /sbin/agetty tty2 +exit_method: kill +crash_on_safe_exit: false +restart: always \ No newline at end of file diff --git a/services/agetty-tty3.esv b/services/agetty-tty3.esv index 53695d8..410db21 100644 --- a/services/agetty-tty3.esv +++ b/services/agetty-tty3.esv @@ -1,5 +1,7 @@ name: agetty-tty3 description: Start virtual terminal on tty3 type: background -start_cmd: /sbin/agetty --noclear tty3 -exit_method: kill \ No newline at end of file +start_cmd: /usr/bin/setsid /sbin/agetty tty3 +exit_method: kill +crash_on_safe_exit: false +restart: always \ No newline at end of file diff --git a/services/agetty-tty4.esv b/services/agetty-tty4.esv index 44c2050..f9471d3 100644 --- a/services/agetty-tty4.esv +++ b/services/agetty-tty4.esv @@ -1,5 +1,7 @@ name: agetty-tty4 description: Start virtual terminal on tty4 type: background -start_cmd: /sbin/agetty --noclear tty4 -exit_method: kill \ No newline at end of file +start_cmd: /usr/bin/setsid /sbin/agetty tty4 +exit_method: kill +crash_on_safe_exit: false +restart: always \ No newline at end of file diff --git a/services/agetty-tty5.esv b/services/agetty-tty5.esv index e0ef7ab..7df12e7 100644 --- a/services/agetty-tty5.esv +++ b/services/agetty-tty5.esv @@ -1,5 +1,7 @@ name: agetty-tty5 description: Start virtual terminal on tty5 type: background -start_cmd: /sbin/agetty --noclear tty5 -exit_method: kill \ No newline at end of file +start_cmd: /usr/bin/setsid /sbin/agetty tty5 +exit_method: kill +crash_on_safe_exit: false +restart: always \ No newline at end of file diff --git a/services/agetty-tty6.esv b/services/agetty-tty6.esv index 3c75ab7..fb40d4b 100644 --- a/services/agetty-tty6.esv +++ b/services/agetty-tty6.esv @@ -1,5 +1,7 @@ name: agetty-tty6 description: Start virtual terminal on tty6 type: background -start_cmd: /sbin/agetty --noclear tty6 -exit_method: kill \ No newline at end of file +start_cmd: /usr/bin/setsid /sbin/agetty tty6 +exit_method: kill +crash_on_safe_exit: false +restart: always \ No newline at end of file