2022-04-10 22:56:51 -04:00
|
|
|
[Unit]
|
|
|
|
Description=Node backend for matrix-appservice-kakaotalk
|
|
|
|
After=multi-user.target network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
; User=matrix-appservice-kakaotalk
|
|
|
|
; Group=matrix-appservice-kakaotalk
|
|
|
|
Type=notify
|
|
|
|
NotifyAccess=all
|
|
|
|
WorkingDirectory=/opt/matrix-appservice-kakaotalk/node
|
|
|
|
ConfigurationDirectory=matrix-appservice-kakaotalk
|
|
|
|
RuntimeDirectory=matrix-appservice-kakaotalk
|
2022-04-11 04:44:35 -04:00
|
|
|
RuntimeDirectoryPreserve=yes
|
2022-04-11 00:11:37 -04:00
|
|
|
ExecStart=/usr/bin/env node src/main.js --config ${CONFIGURATION_DIRECTORY}/node-config.json
|
2022-04-10 22:56:51 -04:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=3
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|