Initial commit
This commit is contained in:
21
overlay/etc/systemd/system/xinit@.service
Normal file
21
overlay/etc/systemd/system/xinit@.service
Normal file
@@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=Start X.org for user %I
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
Wants=time-sync.target
|
||||
After=time-sync.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=%I
|
||||
WorkingDirectory=~
|
||||
PAMName=xinit
|
||||
TTYPath=/dev/tty7
|
||||
StandardInput=tty
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
ExecStart=/usr/bin/startx
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
||||
9
overlay/etc/systemd/user/firefox.service
Normal file
9
overlay/etc/systemd/user/firefox.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Firefox web browser
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/firefox
|
||||
Restart=always
|
||||
StandardInput=null
|
||||
StandardOutput=journal
|
||||
4
overlay/etc/systemd/user/graphical.target
Normal file
4
overlay/etc/systemd/user/graphical.target
Normal file
@@ -0,0 +1,4 @@
|
||||
[Unit]
|
||||
Description=Graphical Interface
|
||||
After=default.target
|
||||
AllowIsolate=yes
|
||||
1
overlay/etc/systemd/user/graphical.target.wants/firefox.service
Symbolic link
1
overlay/etc/systemd/user/graphical.target.wants/firefox.service
Symbolic link
@@ -0,0 +1 @@
|
||||
../firefox.service
|
||||
Reference in New Issue
Block a user