Specify dependency of containers

This commit is contained in:
2024-04-12 14:06:57 +02:00
parent 2e1ca1d1b6
commit 2fd17c1319
7 changed files with 7 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
[Unit]
Description=Nextcloud cron.php job
Wants=nextcloudcron.timer
Requires=container-nextcloud.service
[Service]
ExecStart=/bin/podman exec -u www-data nextcloud php -f /var/www/html/cron.php