Add `RuntimeDirectory` for sockets
This commit is contained in:
parent
d93457fcff
commit
91885245f1
|
@ -3,11 +3,13 @@ Description=Matrix-puppeteer-line Chrome backend
|
||||||
PartOf=matrix-puppeteer-line-chrome.target
|
PartOf=matrix-puppeteer-line-chrome.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
; User=matrix
|
; User=matrix-line
|
||||||
|
; Group=matrix
|
||||||
Type=notify
|
Type=notify
|
||||||
NotifyAccess=all
|
NotifyAccess=all
|
||||||
WorkingDirectory=/opt/synapse/bridges/matrix-puppeteer-line/puppet
|
WorkingDirectory=/opt/synapse/bridges/matrix-puppeteer-line/puppet
|
||||||
ExecStart=/bin/xvfb-run /usr/bin/node src/main.js
|
ExecStart=/bin/xvfb-run /usr/bin/node src/main.js
|
||||||
|
RuntimeDirectory=matrix/puppeteer-line
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
|
@ -4,9 +4,11 @@ BindsTo=matrix-puppeteer-line-chrome.target
|
||||||
After=matrix-puppeteer-line-chrome.target
|
After=matrix-puppeteer-line-chrome.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
; User=matrix
|
; User=matrix-line
|
||||||
|
; Group=matrix
|
||||||
WorkingDirectory=/opt/synapse/bridges/matrix-puppeteer-line
|
WorkingDirectory=/opt/synapse/bridges/matrix-puppeteer-line
|
||||||
ExecStart=/opt/synapse/bridges/matrix-puppeteer-line/.venv/bin/python -m matrix_puppeteer_line
|
ExecStart=/opt/synapse/bridges/matrix-puppeteer-line/.venv/bin/python -m matrix_puppeteer_line
|
||||||
|
RuntimeDirectory=matrix/puppeteer-line
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue