summarylogtreecommitdiffstats
path: root/cozy-controller.service
diff options
context:
space:
mode:
Diffstat (limited to 'cozy-controller.service')
-rw-r--r--cozy-controller.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/cozy-controller.service b/cozy-controller.service
new file mode 100644
index 000000000000..03b297a98677
--- /dev/null
+++ b/cozy-controller.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Cozy Controller
+Wants=couchdb.service
+After=couchdb.service
+
+[Service]
+Environment=NODE_ENV=production
+Environment=USE_SYSLOG=true
+ExecStart=/usr/bin/cozy-controller
+
+[Install]
+WantedBy=multi-user.target