mirror of
https://gitlab.com/commento/commento.git
synced 2026-11-01 01:16:21 -05:00
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:
1 parent
a9b235ef0b
commit
1faf2fbe0b
1 file changed
+14
@@ -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
|
||||
Reference in new issue
Block a user