This commit is contained in:
Lukas Wurzinger 2025-01-05 00:23:48 +01:00
parent a89d69d201
commit f60527e195
No known key found for this signature in database

View file

@ -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";
};
};
}