fix: state folder for signal bot

This commit is contained in:
Patrick 2024-09-15 19:22:17 +02:00
parent 7838819c86
commit 6076c95792
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -87,7 +87,7 @@ in {
script = ''
${lib.getExe pkgs.signal-to-blog} \
--allowed-sender "${config.secrets.secrets.local.allowedSender}" \
--data-folder "data" \
--data-folder "signal-data" \
--output-folder ~/blog/public/content/journal/ \
--url "https://blog.lel.lol/journal" \
--timezone 2
@ -100,7 +100,7 @@ in {
User = "blog";
Group = "blog";
StateDirectory = "blog";
WorkingDirectory = "/var/lib/blog/signal";
WorkingDirectory = "/var/lib/blog/";
LimitNOFILE = "1048576";
PrivateTmp = true;
PrivateDevices = true;