mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
{,nixos/}pocket-id: make pocket-id-backend subpackage the main package
This commit is contained in:
parent
ab1ce1ea5b
commit
cf7ece2830
3 changed files with 14 additions and 32 deletions
|
@ -134,8 +134,8 @@ in
|
|||
];
|
||||
|
||||
systemd.services = {
|
||||
pocket-id-backend = {
|
||||
description = "Pocket ID backend";
|
||||
pocket-id = {
|
||||
description = "Pocket ID";
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
restartTriggers = [
|
||||
|
@ -149,7 +149,7 @@ in
|
|||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
WorkingDirectory = cfg.dataDir;
|
||||
ExecStart = "${cfg.package}/bin/pocket-id-backend";
|
||||
ExecStart = "${cfg.package}/bin/pocket-id";
|
||||
Restart = "always";
|
||||
EnvironmentFile = [
|
||||
cfg.environmentFile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue