forked from onedr0p/containers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,32 @@ | ||
--- | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/goss-org/goss/master/docs/schema.yaml | ||
|
||
process: | ||
# Check if Python is running (usually for a Python-based service like Bazarr) | ||
python: | ||
running: true | ||
# Check if Bazarr is running, replace with the actual process name if different | ||
bazarr: | ||
running: true | ||
|
||
file: | ||
/usr/local/bin/python: | ||
# Check if Python 3 binary exists | ||
/usr/local/bin/python3: | ||
exists: true | ||
# Ensure Python is correctly installed and points to python3 | ||
/usr/bin/python: | ||
exists: true | ||
mode: "0755" | ||
# Ensure unrar binary exists (since it was copied into the image) | ||
/usr/bin/unrar: | ||
exists: true | ||
mode: "0755" | ||
# Ensure the Bazarr binary is correctly installed | ||
/app/bazarr/bin/bazarr.py: | ||
exists: true | ||
mode: "0755" | ||
|
||
# Optionally, check if specific directories exist (for example, the config folder) | ||
directory: | ||
/config: | ||
exists: true | ||
mode: "0755" |