diff options
Diffstat (limited to 'gui-apps/foot/files')
-rw-r--r-- | gui-apps/foot/files/foot.initd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gui-apps/foot/files/foot.initd b/gui-apps/foot/files/foot.initd new file mode 100644 index 000000000000..458618e8d006 --- /dev/null +++ b/gui-apps/foot/files/foot.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run + +description="Foot terminal server mode" + +supervisor=supervise-daemon +command="/usr/bin/foot" +command_args="--server" + +start_pre() { + if [ -z "$WAYLAND_DISPLAY" ]; then + eerror "$WAYLAND_DISPLAY unset, can't proceed." + return 1 + fi +} |