nixpkgs/pkgs/servers/server-scripts/generic/functions
Armijn Hemel 8b0dd0fcdb stubs for generic functions. This should grow into generic functions for
stopping/starting/querying services. No code yet...

svn path=/nixpkgs/trunk/; revision=4827
2006-02-16 18:25:05 +00:00

9 lines
262 B
Bash

#! @bash@/bin/sh -e
## Generic service scripts for NixOS, which provide
## * functions to write state to files (/var/run/nix-services)
## * functions to read state from file (/var/run/nix-services)
## * sanity checking functions
STATEDIR=/var/run/nix-services