tsuki: update atticd service
This commit is contained in:
parent
25bb45a1a1
commit
b30b226142
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,8 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
environment.systemPackages = [pkgs.attic-client];
|
environment.systemPackages = [pkgs.attic-client];
|
||||||
|
|
||||||
systemd.services.atticd = {
|
systemd.services.atticd = {
|
||||||
|
@ -8,7 +12,7 @@
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "notoh";
|
User = "notoh";
|
||||||
ExecStart = "${pkgs.attic-client}/bin/attic watch-store kyasshu";
|
ExecStart = "${lib.getExe pkgs.attic-client} watch-store kyasshu";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 30;
|
RestartSec = 30;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue