matrix-puppeteer-line/systemd/matrix-puppeteer-line.service

19 lines
569 B
SYSTEMD
Raw Permalink Normal View History

2021-05-18 21:08:16 -04:00
[Unit]
Description=matrix-puppeteer-line bridge
BindsTo=matrix-puppeteer-line-chrome.service
PartOf=matrix-puppeteer-line-chrome.service
After=matrix-puppeteer-line-chrome.service
2021-05-18 21:08:16 -04:00
[Service]
; User=matrix-puppeteer-line
; Group=matrix-puppeteer-line
WorkingDirectory=/opt/matrix-puppeteer-line
ConfigurationDirectory=matrix-puppeteer-line
RuntimeDirectory=matrix-puppeteer-line
ExecStart=/opt/matrix-puppeteer-line/.venv/bin/python -m matrix_puppeteer_line -c ${CONFIGURATION_DIRECTORY}/config.yaml
Restart=on-failure
RestartSec=3
2021-05-18 21:08:16 -04:00
[Install]
WantedBy=multi-user.target