File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ If you installed from source or via `pip` then copy the included
109
109
to ` /etc/systemd/system/ ` (note that [ Arch] ( https://www.archlinux.org/ )
110
110
users who installed from
111
111
[ AUR] ( https://aur.archlinux.org/packages/sleep-inhibitor ) can skip this
112
- step):
112
+ first step):
113
113
114
114
$ sudo cp /usr/share/sleep-inhibitor/sleep-inhibitor.service /etc/systemd/system/
115
115
@@ -160,7 +160,7 @@ usage: sleep-inhibitor [-h] [-c CONFIG] [-p PLUGIN_DIR]
160
160
161
161
Program to run plugins to inhibit system sleep/suspend.
162
162
163
- optional arguments :
163
+ options :
164
164
-h, --help show this help message and exit
165
165
-c CONFIG, --config CONFIG
166
166
alternative configuration file
Original file line number Diff line number Diff line change @@ -42,10 +42,27 @@ plugins:
42
42
# name: Plex Media Server
43
43
# args: <your-plex-token>
44
44
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
+
45
55
# Inhibit sleep if a process is running. Here I
46
56
# suppress suspend if my home backup script is running.
47
57
# - path: is-process-running
48
58
# name: Home Backup
49
59
# args: backup.sh
50
60
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
+
51
68
# vim:se sw=2 syn=yaml et ai:
You can’t perform that action at this time.
0 commit comments