1 2 3 4 5 6 7 8 9 10
#!/sbin/openrc-run command="/usr/bin/emacs" command_args="--fg-daemon" command_background="true" pidfile=${XDG_RUNTIME_DIR:-${SVCDIR}}/emacs.pid description="Start an Emacs server running in the background" depend() { after dbus }