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