mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
syncthing: use proper output for binaries in services
This commit is contained in:
parent
82efd22fbc
commit
2fac8b2740
|
@ -71,11 +71,11 @@ in {
|
|||
|
||||
substitute etc/linux-systemd/system/syncthing@.service \
|
||||
$out/lib/systemd/system/syncthing@.service \
|
||||
--replace /usr/bin/syncthing $out/bin/syncthing
|
||||
--replace /usr/bin/syncthing $bin/bin/syncthing
|
||||
|
||||
substitute etc/linux-systemd/user/syncthing.service \
|
||||
$out/lib/systemd/user/syncthing.service \
|
||||
--replace /usr/bin/syncthing $out/bin/syncthing
|
||||
--replace /usr/bin/syncthing $bin/bin/syncthing
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -99,7 +99,7 @@ in {
|
|||
|
||||
substitute cmd/strelaysrv/etc/linux-systemd/strelaysrv.service \
|
||||
$out/lib/systemd/system/strelaysrv.service \
|
||||
--replace /usr/bin/strelaysrv $out/bin/strelaysrv
|
||||
--replace /usr/bin/strelaysrv $bin/bin/strelaysrv
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue