2018-06-09 18:41:39 +08:00
|
|
|
[Unit]
|
2018-12-29 01:41:45 +08:00
|
|
|
Description=Commento daemon service
|
2018-06-09 18:41:39 +08:00
|
|
|
After=network.target postgresql.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2018-12-29 01:41:45 +08:00
|
|
|
ExecStart=/usr/bin/commento
|
2018-06-09 18:41:39 +08:00
|
|
|
Environment=COMMENTO_ORIGIN=https://commento.example.com
|
|
|
|
Environment=COMMENTO_PORT=8080
|
|
|
|
Environment=COMMENTO_POSTGRES=postgres://commento:commento@db:5432/commento?sslmode=disable
|
2018-12-29 01:41:45 +08:00
|
|
|
Environment=COMMENTO_STATIC=/usr/share/commento
|
2018-06-09 18:41:39 +08:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|