commento-ce.service: add a linux systemd example file

Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
This commit is contained in:
Pierre-Alain TORET 2018-06-09 12:41:39 +02:00
parent a9b235ef0b
commit 1faf2fbe0b

View File

@ -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