SIEMbitwardendnscrypthome assistantjellyfinjitsimulti-factor authenticationnextcloudonlyofficepiholeraspberry pirocket.chatsyncthingtorwazuhwireguard
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
699 B
21 lines
699 B
[Unit] |
|
Description=Mistborn Jellyfin Service |
|
Requires=Mistborn-nextcloud.service |
|
After=Mistborn-nextcloud.service |
|
|
|
[Service] |
|
Restart=always |
|
User=root |
|
Group=docker |
|
PermissionsStartOnly=true |
|
# Shutdown container (if running) when unit is stopped |
|
ExecStartPre=/usr/local/bin/docker-compose -f /opt/mistborn/extra/jellyfin.yml down |
|
ExecStartPre=/bin/chown -R --from=root:root root:root /opt/mistborn_volumes/ |
|
# Start container when unit is started |
|
ExecStart=/usr/local/bin/docker-compose -f /opt/mistborn/extra/jellyfin.yml up --build |
|
# Stop container when unit is stopped |
|
ExecStop=/usr/local/bin/docker-compose -f /opt/mistborn/extra/jellyfin.yml down |
|
# Post stop |
|
|
|
[Install] |
|
WantedBy=multi-user.target
|
|
|