Privatebin: Backup data.
This commit is contained in:
parent
dc099cf567
commit
2db909a0e3
|
@ -20,6 +20,7 @@ let
|
||||||
(mkBind "ovpn" "/var/lib/ovpn")
|
(mkBind "ovpn" "/var/lib/ovpn")
|
||||||
(mkBind "paperless" "/var/lib/paperless")
|
(mkBind "paperless" "/var/lib/paperless")
|
||||||
(mkBind "postgres" "/var/lib/postgresql")
|
(mkBind "postgres" "/var/lib/postgresql")
|
||||||
|
(mkBind "privatebin" "/var/lib/privatebin")
|
||||||
(mkBind "rabbitmq" "/var/lib/rabbitmq")
|
(mkBind "rabbitmq" "/var/lib/rabbitmq")
|
||||||
(mkBind "sieve" "/var/sieve")
|
(mkBind "sieve" "/var/sieve")
|
||||||
(mkBind "terraria" "/var/lib/terraria")
|
(mkBind "terraria" "/var/lib/terraria")
|
||||||
|
|
|
@ -147,12 +147,12 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
timers.autoexpunge = {
|
timers.autoexpunge = {
|
||||||
|
wantedBy = [ "timers.target" ];
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnCalendar = "daily";
|
OnCalendar = "daily";
|
||||||
Persistent = true;
|
Persistent = true;
|
||||||
Unit = "autoexpunge.service";
|
Unit = "autoexpunge.service";
|
||||||
};
|
};
|
||||||
wantedBy = [ "timers.target" ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ ... }: {
|
{ ... }:
|
||||||
|
{
|
||||||
"paste.voronind.com" = {
|
"paste.voronind.com" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
|
|
Loading…
Reference in a new issue