summaryrefslogtreecommitdiffstats
path: root/owncloud-systemd-timer.service
diff options
context:
space:
mode:
Diffstat (limited to 'owncloud-systemd-timer.service')
-rw-r--r--owncloud-systemd-timer.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/owncloud-systemd-timer.service b/owncloud-systemd-timer.service
new file mode 100644
index 0000000..1e18b1a
--- /dev/null
+++ b/owncloud-systemd-timer.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Cron for owncloud background jobs
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/php -f /usr/share/owncloud/cron.php
+User=apache
+