Skip to content

nicferrier/emacs-initd

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

An init.d script for starting Emacs as a daemon.

You can install this, as root, in init.d to start and stop an Emacs daemon at box boot.

It supports the usual start/stop but also:

  • status reports the current status of the emacs daemon instance
  • eval evaluates lisp, for example:
$ /etc/init.d/emacs eval '(emacs-uptime)'
1 hour, 47 minutes, 26 seconds
  • command evaluates a command, just simpler function calling:
$ /etc/init.d/emacs command 'elnode-start 8001 "localhost"'
  • install installs a package, optionally from the specified archive:
$ /etc/init.d/emacs install elnode /vagrant/my-elpa

About

emacs daemon startup and service script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published