2021-05-18 21:08:16 -04:00
|
|
|
[Unit]
|
2021-07-14 01:36:15 -04:00
|
|
|
Description=Chrome/Puppeteer backend for matrix-puppeteer-line
|
|
|
|
After=multi-user.target network.target
|
2021-05-18 21:08:16 -04:00
|
|
|
|
|
|
|
[Service]
|
2021-07-14 01:36:15 -04:00
|
|
|
; User=matrix-puppeteer-line
|
|
|
|
; Group=matrix-puppeteer-line
|
2021-06-13 08:09:15 -04:00
|
|
|
Type=notify
|
|
|
|
NotifyAccess=all
|
2021-07-14 01:36:15 -04:00
|
|
|
WorkingDirectory=/opt/matrix-puppeteer-line/puppet
|
|
|
|
ConfigurationDirectory=matrix-puppeteer-line
|
|
|
|
RuntimeDirectory=matrix-puppeteer-line
|
|
|
|
ExecStart=/usr/bin/xvfb-run -a yarn start --config ${CONFIGURATION_DIRECTORY}/puppet-config.json
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=3
|
2021-05-18 21:08:16 -04:00
|
|
|
|
|
|
|
[Install]
|
2021-07-14 01:36:15 -04:00
|
|
|
WantedBy=multi-user.target
|