summaryrefslogtreecommitdiffstats
path: root/bin/updater/systemd
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-12-04 10:32:23 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-12-04 10:32:23 +0100
commit69624de11f8ec6c5fb59c6e099447d6644fb5d5a (patch)
treee96a53dd17a68eda5b9ed9531f129fae58a83b45 /bin/updater/systemd
parent90ae9ae044f2505954374fd155890315a8bb64f8 (diff)
add systemd scripts for updater
Diffstat (limited to 'bin/updater/systemd')
-rw-r--r--bin/updater/systemd/owncloud-news.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/updater/systemd/owncloud-news.service b/bin/updater/systemd/owncloud-news.service
new file mode 100644
index 000000000..84c9cf132
--- /dev/null
+++ b/bin/updater/systemd/owncloud-news.service
@@ -0,0 +1,9 @@
+[Unit]
+After=default.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/python3 /usr/local/bin/owncloud-news-updater -c /etc/owncloud/news/config.ini
+
+[Install]
+WantedBy=default.target \ No newline at end of file