Skip to content

Commit

Permalink
added start and stop script
Browse files Browse the repository at this point in the history
  • Loading branch information
Dpbm committed Sep 18, 2022
1 parent 5ed2ddd commit 95935aa
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,12 @@ To run use:

Move your files to `$HOME/jellyfin-medias/media/` to list on platform

You can use the start and stop scripts too. To use this do:
```
chmod +x start_jellyfin
chmod +x stop_jellyfin
```

then add this folder to your $PATH `PATH=/path/to/this/folder:$PATH`


4 changes: 4 additions & 0 deletions start_jellyfin
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

ID=$(docker container ls -a | grep 'jellyfin' | awk '{print $1}')
docker start $ID
5 changes: 5 additions & 0 deletions stop_jellyfin
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

ID=$(docker container ls -a | grep 'jellyfin' | awk '{print $1}')

docker stop $ID

0 comments on commit 95935aa

Please sign in to comment.