use ExecStart instead of script, this way we get rid of systemd wrapper scripts

This commit is contained in:
Domen Kozar 2013-02-27 20:13:14 +01:00
parent bb89f2eb99
commit c50d7cbc8d

View file

@ -35,7 +35,7 @@ in {
description = "Deluge BitTorrent Daemon";
wantedBy = [ "multi-user.target" ];
path = [ pkgs.pythonPackages.deluge ];
script = "${pkgs.pythonPackages.deluge}/bin/deluged -d";
serviceConfig.ExecStart = "${pkgs.pythonPackages.deluge}/bin/deluged -d";
serviceConfig.User = "deluge";
serviceConfig.Group = "deluge";
};
@ -45,7 +45,7 @@ in {
description = "Deluge BitTorrent WebUI";
wantedBy = [ "multi-user.target" ];
path = [ pkgs.pythonPackages.deluge ];
script = "${pkgs.pythonPackages.deluge}/bin/deluge --ui web";
serviceConfig.ExecStart = "${pkgs.pythonPackages.deluge}/bin/deluge --ui web";
serviceConfig.User = "deluge";
serviceConfig.Group = "deluge";
};