Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 425 Bytes
[Unit]
Description=NextCloud DB Container Service
PartOf=nextcloud.service
After=nextcloud.service
After=ncserver.service
[Service]
ExecStartPre=-/usr/bin/podman pull mariadb
ExecStart=/usr/bin/podman run --rm -v /var/opt/ncserver/db:/var/lib/mysql --net=container:ncnginx --name="ncdb" -e MYSQL_ROOT_PASSWORD="rMN;v2tbz@" mariadb
ExecStop=/usr/bin/podman stop ncdb
Restart=on-failure
[Install]
WantedBy=nextcloud.service
You can’t perform that action at this time.