fix: state folder for signal bot
This commit is contained in:
parent
7838819c86
commit
6076c95792
|
@ -87,7 +87,7 @@ in {
|
||||||
script = ''
|
script = ''
|
||||||
${lib.getExe pkgs.signal-to-blog} \
|
${lib.getExe pkgs.signal-to-blog} \
|
||||||
--allowed-sender "${config.secrets.secrets.local.allowedSender}" \
|
--allowed-sender "${config.secrets.secrets.local.allowedSender}" \
|
||||||
--data-folder "data" \
|
--data-folder "signal-data" \
|
||||||
--output-folder ~/blog/public/content/journal/ \
|
--output-folder ~/blog/public/content/journal/ \
|
||||||
--url "https://blog.lel.lol/journal" \
|
--url "https://blog.lel.lol/journal" \
|
||||||
--timezone 2
|
--timezone 2
|
||||||
|
@ -100,7 +100,7 @@ in {
|
||||||
User = "blog";
|
User = "blog";
|
||||||
Group = "blog";
|
Group = "blog";
|
||||||
StateDirectory = "blog";
|
StateDirectory = "blog";
|
||||||
WorkingDirectory = "/var/lib/blog/signal";
|
WorkingDirectory = "/var/lib/blog/";
|
||||||
LimitNOFILE = "1048576";
|
LimitNOFILE = "1048576";
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
|
|
Loading…
Reference in a new issue