add information on how to disable acme.sh timestamps, as journald already provides this functionality

master
allddd 2024-09-06 20:08:31 +02:00
parent 0858e5f915
commit 1c04969eb4
1 changed files with 11 additions and 3 deletions

@ -13,13 +13,21 @@ SyslogIdentifier=acme.sh
ExecStart=/path/to/acme.sh --cron --home /path/to/acme.sh
```
**2. Test that it works before creating the timer:**
**2. Disable timestamps (optional):**
`/path/to/acme.sh/account.conf`
```
NO_TIMESTAMP='1'
```
**3. Test that it works before creating the timer:**
```
sudo systemctl daemon-reload
sudo systemctl start acme_letsencrypt
journalctl -u acme_letsencrypt.service
```
**3. Create systemd timer unit for the service above:**
**4. Create systemd timer unit for the service above:**
`/etc/systemd/system/acme_letsencrypt.timer`
```
@ -35,7 +43,7 @@ Persistent=true
WantedBy=timers.target
```
**4. Enable timer:**
**5. Enable timer:**
```
sudo systemctl start acme_letsencrypt.timer
sudo systemctl enable acme_letsencrypt.timer