3
0
Fork 0
forked from mirrors/nixpkgs

parsoid service: don't run as a superuser

This commit is contained in:
Nikolay Amiantov 2016-10-16 03:07:53 +03:00
parent 0fa07f1b20
commit 5187c28f91

View file

@ -91,6 +91,7 @@ in
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
User = "nobody";
ExecStart = "${pkgs.nodePackages.parsoid}/lib/node_modules/parsoid/bin/server.js -c ${confFile} -n ${toString cfg.workers}";
};
};