Add nextcloud container
This commit is contained in:
2
containers/nextcloud/files/mariadb/log_level.cnf
Normal file
2
containers/nextcloud/files/mariadb/log_level.cnf
Normal file
@@ -0,0 +1,2 @@
|
||||
[mariadb]
|
||||
log_warnings = 3
|
||||
2
containers/nextcloud/files/mariadb/name_resolve.cnf
Normal file
2
containers/nextcloud/files/mariadb/name_resolve.cnf
Normal file
@@ -0,0 +1,2 @@
|
||||
[mariadb]
|
||||
skip-name-resolve = ON
|
||||
7
containers/nextcloud/files/systemd/nextcloudcron.service
Normal file
7
containers/nextcloud/files/systemd/nextcloudcron.service
Normal file
@@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Nextcloud cron.php job
|
||||
Wants=nextcloudcron.timer
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/podman exec -u www-data nextcloud php -f /var/www/html/cron.php
|
||||
Type=oneshot
|
||||
11
containers/nextcloud/files/systemd/nextcloudcron.timer
Normal file
11
containers/nextcloud/files/systemd/nextcloudcron.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Run Nextcloud cron.php every 5 minutes
|
||||
Requires=nextcloudcron.service
|
||||
|
||||
[Timer]
|
||||
Unit=nextcloudcron.service
|
||||
OnBootSec=5min
|
||||
OnUnitActiveSec=5min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user