Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

14 lines (12 sloc) 494 Bytes
[Unit]
Description=NextCloud Proxy Service
PartOf=nextcloud.service
After=nextcloud.service
[Service]
ExecStartPre=-/usr/bin/podman container rm ncnginx
ExecStartPre=-/usr/bin/podman pull nginx
ExecStart=/usr/bin/podman run --rm -p 443:443 -v /var/opt/ncserver/nginx/nginx.conf:/etc/nginx/nginx.conf:ro -v /etc/letsencrypt:/etc/certbot:ro -v /disk/nextcloud:/var/www/html:ro --name="ncnginx" nginx
ExecStop=/usr/bin/podman stop ncnginx
Restart=on-failure
[Install]
WantedBy=nextcloud.service
You can’t perform that action at this time.