1
0
Fork 0

tiny beauty improvements

This commit is contained in:
Malte Brandy 2021-07-20 20:37:16 +02:00
parent 1efa399201
commit 9b664d14e7
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -149,13 +149,13 @@ in
'';
in
{
Unit = { Description = "Run imapnotify for imap account ${name}"; };
Unit.Description = "Run imapnotify for imap account ${name}";
Service = {
ExecStart = "${pkgs.imapnotify}/bin/imapnotify -c ${configjs}";
Restart = "always";
RestartSec = "1min";
};
Install = { WantedBy = [ "default.target" ]; };
Install.WantedBy = [ "default.target" ];
};
mkServiceWithName = name: account: {
name = "imapnotify-${name}-inbox";