clean
This commit is contained in:
parent
a89d69d201
commit
f60527e195
|
@ -28,24 +28,4 @@
|
|||
/srv/compmusic/ root@wrz.one:${remoteDir}
|
||||
'';
|
||||
};
|
||||
|
||||
systemd.services.audiocomp = {
|
||||
description = "Compress and sync music";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "root";
|
||||
Group = "root";
|
||||
ExecStart = lib.getExe audiocomp;
|
||||
};
|
||||
};
|
||||
|
||||
systemd.timers.audiocomp = {
|
||||
description = "Compress and sync music daily";
|
||||
wantedBy = ["timers.target"];
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-* 03:00:00";
|
||||
Persistent = true;
|
||||
Unit = "audiocomp.service";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue