aboutsummaryrefslogtreecommitdiff
path: root/buildos.service
diff options
context:
space:
mode:
Diffstat (limited to 'buildos.service')
-rw-r--r--buildos.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/buildos.service b/buildos.service
new file mode 100644
index 0000000..b1aedf1
--- /dev/null
+++ b/buildos.service
@@ -0,0 +1,22 @@
+[Unit]
+Description=Build OS Monitor
+After=default.target
+Conflicts=getty@tty1.service
+
+[Service]
+Type=idle
+TimeoutStartSec=infinity
+RemainAfterExit=true
+ExecStart=/usr/sbin/buildos
+StandardInput=tty-force
+StandardOutput=inherit
+StandardError=inherit
+TTYPath=/dev/tty1
+TTYReset=yes
+TTYVHangup=yes
+User=build
+Group=build
+WorkingDirectory=~
+
+[Install]
+WantedBy=default.target