Add systemd-units/backtotty.service
This commit is contained in:
12
systemd-units/backtotty.service
Normal file
12
systemd-units/backtotty.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Return to terminal
|
||||
After=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash -c '/opt/scripts/backtotty.sh'
|
||||
User=root
|
||||
NoNewPrivileges=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user