Revert "Simple proof of concept for how to do other types of services"
This reverts commit 7c3253e519.
I included this in another push by accident and never intended for it to
be in mainline. See https://github.com/NixOS/nixpkgs/pull/26075 if you
want more.
This commit is contained in:
@@ -23,8 +23,6 @@ let
|
||||
stats = cfg.statsAddress;
|
||||
listen = cfg.listenAddress;
|
||||
});
|
||||
|
||||
script = "${pkgs.hologram.bin}/bin/hologram-server --debug --conf ${cfgFile}";
|
||||
in {
|
||||
options = {
|
||||
services.hologram-server = {
|
||||
@@ -96,15 +94,9 @@ in {
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
inherit script;
|
||||
};
|
||||
|
||||
docker-containers.hologram-server = {
|
||||
inherit script;
|
||||
};
|
||||
|
||||
trivial-services.hologram-server = {
|
||||
inherit script;
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.hologram.bin}/bin/hologram-server --debug --conf ${cfgFile}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user