diff --git a/doc/runscripts.html b/doc/runscripts.html index c2726e8..ef8dfbf 100644 --- a/doc/runscripts.html +++ b/doc/runscripts.html @@ -54,6 +54,7 @@

runit - collection of run fam
fcron
fetchmail
+gammastep
gdm
getty
gpm
@@ -379,6 +380,18 @@

A --nodetach \ --daemon ${INTERVAL}
+

A +gammastep run script

+

(Debian - Wayland)

+
#!/bin/sh
+exec 2>&1
+export USER=<your-username>
+export XDG_RUNTIME_DIR=/tmp/runtime-$USER
+export WAYLAND_DISPLAY=wayland-1
+exec chpst -u $USER gammastep
+
+

You would need to either change the USER variable, or run this service as user

A gdm run script

(Debian woody)

diff --git a/md/runscripts.md b/md/runscripts.md index 928a205..4648197 100644 --- a/md/runscripts.md +++ b/md/runscripts.md @@ -51,6 +51,7 @@ dutoit.]{.small} [fam](#fam)\ [fcron](#fcron)\ [fetchmail](#fetchmail)\ +[gammastep](#gammastep)\ [gdm](#gdm)\ [getty](#getty)\ [gpm](#gpm)\ @@ -467,6 +468,23 @@ This service needs a [log service](faq.html#createlog) to be set up. --- + +### [A `gammastep` run script]{#gammastep} + +(*Debian - Wayland*) + + #!/bin/sh + exec 2>&1 + export USER= + export XDG_RUNTIME_DIR=/tmp/runtime-$USER + export WAYLAND_DISPLAY=wayland-1 + exec chpst -u $USER gammastep + +--- + +You would need to either change the `USER` variable, or +[run this service as user](faq.html#user) + ### [A `gdm` run script]{#gdm} (*Debian woody*)