Skip to content

Commit

Permalink
Use a getty service override to start mythfrontend
Browse files Browse the repository at this point in the history
systemd seems to no longer approve of the previous way
  • Loading branch information
root committed Dec 27, 2021
1 parent ba8a599 commit 10bbec4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 52 deletions.
3 changes: 1 addition & 2 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ baseUpdateSysConfig /etc/sysconfig/lirc LIRCD_DEVICE /dev/input/by-id/usb-Philip

suseInsertService lircd

ln -s /etc/systemd/system/mythfrontend@.service /etc/systemd/system/getty.target.wants/[email protected]
ln -s /etc/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/[email protected]
mkdir /etc/systemd/system/remote-fs.target.wants

ln -s /etc/systemd/system/home-mythfrontend-.mythtv.mount /etc/systemd/system/remote-fs.target.wants/home-mythfrontend-.mythtv.mount

update-alternatives --auto libglx.so
3 changes: 3 additions & 0 deletions root/etc/systemd/system/[email protected]/override.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=-/usr/bin/openvt -fwc 8 -- /bin/su - mythfrontend -c /usr/bin/startx >& /home/mythfrontend/mfout
50 changes: 0 additions & 50 deletions root/etc/systemd/system/[email protected]

This file was deleted.

0 comments on commit 10bbec4

Please sign in to comment.