-
-
Notifications
You must be signed in to change notification settings - Fork 252
Installation: Podman Linux
Koushik Dutta edited this page Oct 10, 2023
·
3 revisions
Create a file at /etc/containers/systemd/scrypted.container
containing:
[Unit]
Description=Scrypted container
Wants=network-online.target
After=network-online.target
[Container]
Image=docker.io/koush/scrypted:latest
ContainerName=scrypted
Timezone=America/Chicago
AddDevice=/dev/dri
UserNS=auto
#Flag for autoupdates
Label=io.containers.autoupdate=registry
# Use volume and network defined below
Volume=scrypted.volume:/server/volume:U,Z
Network=host
[Service]
Restart=always
TimeoutStartSec=900
[Install]
# Start by default on boot
WantedBy=multi-user.target default.target
Next we will regenerate the systemd service and start it.
systemctl daemon-reload
systemctl start scrypted
Enable podman auto update timer unit for daily auto updates (override the timer in systemd if you would like a different schedule)
sudo systemctl enable --now podman-auto-update.timer
To override the timer:
sudo systemctl edit podman-auto-update.timer
Then
systemctl daemon-reload
Scrypted Docs have moved. Please visit https://docs.scrypted.app.