Compare commits
3 commits
6d8dc4c879
...
bf10c236a3
Author | SHA1 | Date | |
---|---|---|---|
bf10c236a3 | |||
8524aaa6e7 | |||
bc94e8831a |
3 changed files with 20 additions and 0 deletions
|
@ -46,6 +46,7 @@ in
|
||||||
containers.browsers = {
|
containers.browsers = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
ephemeral = true;
|
ephemeral = true;
|
||||||
|
restartIfChanged = false;
|
||||||
|
|
||||||
bindMounts = lib.mkMerge [
|
bindMounts = lib.mkMerge [
|
||||||
{
|
{
|
||||||
|
|
19
notes/davmail.md
Normal file
19
notes/davmail.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Davmail
|
||||||
|
|
||||||
|
## Update refresh token
|
||||||
|
|
||||||
|
Stop current `davmail.service` and clone properties to a temp file
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo systemctl stop davmail.service
|
||||||
|
cat $(sudo systemctl cat davmail.service | awk '/ExecStart=/ { print $2; }') > /tmp/davmail.properties
|
||||||
|
```
|
||||||
|
|
||||||
|
Start davmail manually
|
||||||
|
|
||||||
|
```sh
|
||||||
|
davmail /tmp/davmail.properties
|
||||||
|
```
|
||||||
|
|
||||||
|
Open renew link in the browser and copy `refreshToken` from
|
||||||
|
`/tmp/davmail.properties`
|
Binary file not shown.
Loading…
Reference in a new issue