File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1+ greetd-qtgreet-settings (0.0.4) nitrux; urgency=medium
2+
3+ * User supervise-daemon for daemons.
4+
5+ -- Uri Herrera <uri_herrera@nxos.org> Sun, 20 Jul 2025 05:56:00 -0500
6+
17greetd-qtgreet-settings (0.0.3) nitrux; urgency=medium
28
39 * Change greetd init script name.
Original file line number Diff line number Diff line change 22
33description=" Starts the greetd display manager"
44command=" /usr/sbin/greetd"
5- pidfile=" /run/greetd.pid"
6-
7- # Using supervise-daemon makes the service very robust.
85supervisor=supervise-daemon
96
107depend () {
11- # This service provides the 'xdm' virtual dependency for other services.
128 provide greetd
13- # It needs a login manager and D-Bus.
149 need elogind dbus
15- # Should start after the basic system is up.
1610 after localmount
17- # Tells Plymouth to quit before the display manager starts.
1811 use plymouth
1912}
2013
2114start_pre () {
22- # greetd requires a runtime directory with specific permissions.
15+
16+ if ! getent passwd greeter > /dev/null; then
17+ eerror " User 'greeter' does not exist. Please create it first."
18+ return 1
19+ fi
20+
2321 checkpath -d -m 0755 -o greeter:greeter /run/greetd
2422
25- # Stop the boot splash screen if it's running.
2623 if command -v plymouth > /dev/null 2>&1 && plymouth --ping; then
2724 plymouth quit
2825 fi
You can’t perform that action at this time.
0 commit comments