diff options
author | tv <tv@krebsco.de> | 2018-12-29 12:58:45 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-12-29 13:17:53 +0100 |
commit | 395c42571bbef3361c07d1f25913e7c15990e542 (patch) | |
tree | d653039293296b7a627cb2c8083d433ec7ee8553 /tv | |
parent | 6868856e271c57e6721de26d910a49d60b41236d (diff) |
tv ejabberd: move home to /var/lib
Diffstat (limited to 'tv')
-rw-r--r-- | tv/2configs/backup.nix | 4 | ||||
-rw-r--r-- | tv/3modules/ejabberd/default.nix | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tv/2configs/backup.nix b/tv/2configs/backup.nix index f8de72d..b8dec8d 100644 --- a/tv/2configs/backup.nix +++ b/tv/2configs/backup.nix @@ -60,7 +60,7 @@ with import <stockholm/lib>; }; xu-pull-ni-ejabberd = { method = "pull"; - src = { host = config.krebs.hosts.ni; path = "/var/ejabberd"; }; + src = { host = config.krebs.hosts.ni; path = "/var/lib/ejabberd"; }; dst = { host = config.krebs.hosts.xu; path = "/bku/ni-ejabberd"; }; startAt = "07:00"; }; @@ -78,7 +78,7 @@ with import <stockholm/lib>; }; zu-pull-ni-ejabberd = { method = "pull"; - src = { host = config.krebs.hosts.ni; path = "/var/ejabberd"; }; + src = { host = config.krebs.hosts.ni; path = "/var/lib/ejabberd"; }; dst = { host = config.krebs.hosts.zu; path = "/bku/ni-ejabberd"; }; startAt = "06:00"; }; diff --git a/tv/3modules/ejabberd/default.nix b/tv/3modules/ejabberd/default.nix index e99b94f..f16dfac 100644 --- a/tv/3modules/ejabberd/default.nix +++ b/tv/3modules/ejabberd/default.nix @@ -67,7 +67,7 @@ in { type = types.user; default = { name = "ejabberd"; - home = "/var/ejabberd"; + home = "/var/lib/ejabberd"; }; }; }; |