ihaskell: cleanup wrapper and service

This commit is contained in:
Edward Tjörnhammar
2015-04-15 23:00:03 +02:00
parent f7737355d4
commit dfc8e5ab05
2 changed files with 17 additions and 30 deletions
+2 -3
View File
@@ -68,9 +68,8 @@ in
after = [ "network.target" ];
serviceConfig = {
User = config.users.extraUsers.ihaskell.name;
Group = config.users.extraUsers.ihaskell.name;
Restart = "always";
ExecStart = "${ihaskell}/bin/IHaskell notebook";
Group = config.users.extraGroups.ihaskell.name;
ExecStart = "${pkgs.stdenv.shell} -c \"cd $HOME;${ihaskell}/bin/ihaskell-notebook\"";
};
};
};