mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
use ExecStart instead of script, this way we get rid of systemd wrapper scripts
This commit is contained in:
parent
bb89f2eb99
commit
c50d7cbc8d
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue