diff --git a/etc/linux-systemd/commento-ce.service b/etc/linux-systemd/commento-ce.service new file mode 100644 index 0000000..4539f03 --- /dev/null +++ b/etc/linux-systemd/commento-ce.service @@ -0,0 +1,14 @@ +[Unit] +Description=Commento-CE daemon service +After=network.target postgresql.service + +[Service] +Type=simple +ExecStart=/usr/bin/commento-ce +Environment=COMMENTO_ORIGIN=https://commento.example.com +Environment=COMMENTO_PORT=8080 +Environment=COMMENTO_POSTGRES=postgres://commento:commento@db:5432/commento?sslmode=disable +Environment=COMMENTO_STATIC=/usr/share/commento-ce + +[Install] +WantedBy=multi-user.target