Skip to content

Commit

Permalink
Add systemd instructions for watch command (#507)
Browse files Browse the repository at this point in the history
Co-authored-by: Elan Ruusamäe <glen@pld-linux.org>
  • Loading branch information
agneevX and glensc authored Sep 27, 2021
1 parent e88ef5a commit ddb527d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,25 @@ and scrobble plays.
[plex-scrobbler]: https://blog.trakt.tv/plex-scrobbler-52db9b016ead

Create a systemd unit so that it scrobbles automatically in the background:

```ini
[Unit]
Description=PlexTraktSync watch daemon
After=network-online.target

[Service]
ExecStart=/path/to/PlexTraktSync/plex_trakt_sync.sh watch

Restart=on-failure
RestartSec=10
User=user
Group=user

[Install]
WantedBy=multi-user.target
```

NOTE: The `watch` command will scrobble all Plex Watches to Trakt as filtering
by user is not implemented [#324].

Expand Down

0 comments on commit ddb527d

Please sign in to comment.