tiny beauty improvements
This commit is contained in:
parent
1efa399201
commit
9b664d14e7
1 changed files with 2 additions and 2 deletions
|
@ -149,13 +149,13 @@ in
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
Unit = { Description = "Run imapnotify for imap account ${name}"; };
|
Unit.Description = "Run imapnotify for imap account ${name}";
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${pkgs.imapnotify}/bin/imapnotify -c ${configjs}";
|
ExecStart = "${pkgs.imapnotify}/bin/imapnotify -c ${configjs}";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = "1min";
|
RestartSec = "1min";
|
||||||
};
|
};
|
||||||
Install = { WantedBy = [ "default.target" ]; };
|
Install.WantedBy = [ "default.target" ];
|
||||||
};
|
};
|
||||||
mkServiceWithName = name: account: {
|
mkServiceWithName = name: account: {
|
||||||
name = "imapnotify-${name}-inbox";
|
name = "imapnotify-${name}-inbox";
|
||||||
|
|
Loading…
Reference in a new issue