emacs openrc init script 11 January 2022, 17:15:22 I was wondering what is the way to start emacs as a daemon or run it as a service using openrc. Emacs can be run as a daemon by issuing Code: [Select]emacs --daemonHowever, is there a way to add to default runlevel using openrc? Any help is much appreciated.
Re: emacs openrc init script Reply #1 – 12 January 2022, 12:42:11 Save this as /etc/init.d/emacs and enable it.Code: [Select]#!/usr/bin/openrc-runcommand="/usr/bin/emacs"command_args="--daemon"#depend() {# after local#}