1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/servers/server-scripts/generic
Armijn Hemel 742c1ef85e add a bit more boiler plate code. Right now I just touch a file in $STATEDIR,
maybe this should include the path to the Nix store and a sanity check
should be added to make sure that if we check the file in $STATEDIR that
it is indeed from an instance of the service that we want to start. This
adds complexity, because how should we deal with the situation of they are
not equal.

TODO: add a "status" command, or a "version" command, which displays which
service is currently registered with the system as "running"

svn path=/nixpkgs/trunk/; revision=5015
2006-03-09 13:20:40 +00:00
..
functions add a bit more boiler plate code. Right now I just touch a file in $STATEDIR, 2006-03-09 13:20:40 +00:00