clarify documentation, replace daemon-reexec with daemon-reload
This commit is contained in:
parent
f51ed1b1bf
commit
6a5d03f73e
1 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@ Or set it up as a `systemd` service for automatic and scheduled execution.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Example: systemd Service
|
## Running the script automatically
|
||||||
|
|
||||||
Create a service file at `/etc/systemd/user/immich-album-downloader.service`:
|
Create a service file at `/etc/systemd/user/immich-album-downloader.service`:
|
||||||
|
|
||||||
|
@ -63,13 +63,13 @@ WantedBy=default.target
|
||||||
Enable and start the service:
|
Enable and start the service:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
systemctl --user daemon-reexec
|
systemctl --user daemon-reload
|
||||||
systemctl --user enable --now immich-album-downloader.service
|
systemctl --user enable --now immich-album-downloader.service
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Example: systemd Timer
|
### Running the script periodically
|
||||||
|
|
||||||
To run the download periodically, create `/etc/systemd/user/immich-album-downloader.timer`:
|
To run the download periodically, create `/etc/systemd/user/immich-album-downloader.timer`:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue