Skip to content

Commit 695b4a2

Browse files
committed
Add examples for other plugins
1 parent 065b781 commit 695b4a2

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ If you installed from source or via `pip` then copy the included
109109
to `/etc/systemd/system/` (note that [Arch](https://www.archlinux.org/)
110110
users who installed from
111111
[AUR](https://aur.archlinux.org/packages/sleep-inhibitor) can skip this
112-
step):
112+
first step):
113113

114114
$ sudo cp /usr/share/sleep-inhibitor/sleep-inhibitor.service /etc/systemd/system/
115115

@@ -160,7 +160,7 @@ usage: sleep-inhibitor [-h] [-c CONFIG] [-p PLUGIN_DIR]
160160
161161
Program to run plugins to inhibit system sleep/suspend.
162162
163-
optional arguments:
163+
options:
164164
-h, --help show this help message and exit
165165
-c CONFIG, --config CONFIG
166166
alternative configuration file

sleep-inhibitor.conf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,27 @@ plugins:
4242
# name: Plex Media Server
4343
# args: <your-plex-token>
4444

45+
# Inhibit sleep when Jellyfin media server is serving content to users.
46+
# You need to specify your Plex token as the argument here. To
47+
# determine your plex token, see
48+
# https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
49+
# To wake your PC if previously suspended, use any "wake on LAN" app
50+
# on your phone.
51+
# - path: jellyfin-server
52+
# name: Jellyfin Media Server
53+
# args: <your-jellyfin-token>
54+
4555
# Inhibit sleep if a process is running. Here I
4656
# suppress suspend if my home backup script is running.
4757
# - path: is-process-running
4858
# name: Home Backup
4959
# args: backup.sh
5060

61+
# Inhibit sleep if 1 or more remote users are logged in via ssh
62+
# suppress suspend if my home backup script is running.
63+
# - path: ssh-session-open
64+
65+
# Inhibit sleep if apk (Alpine [Linux] Package Keeper) is running
66+
# - path: apk-running
67+
5168
# vim:se sw=2 syn=yaml et ai:

0 commit comments

Comments
 (0)