syncthing: init
This commit is contained in:
parent
84849d5b2d
commit
8e84af98ac
9 changed files with 91 additions and 6 deletions
|
|
@ -7,6 +7,18 @@
|
|||
};
|
||||
Install.WantedBy = ["graphical-session.target"];
|
||||
};
|
||||
|
||||
mkTrayService = exec: {
|
||||
Unit = {
|
||||
Requires = ["tray.target"];
|
||||
After = ["graphical-session-pre.target" "tray.target"];
|
||||
PartOf = ["graphical-session.target"];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = exec;
|
||||
};
|
||||
Install = {WantedBy = ["graphical-session.target"];};
|
||||
};
|
||||
in {
|
||||
inherit mkGraphicalService;
|
||||
inherit mkGraphicalService mkTrayService;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue