19 lines
523 B
SYSTEMD
19 lines
523 B
SYSTEMD
|
[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
|
||
|
ExecStart=/usr/bin/env node src/main.js --config ${CONFIGURATION_DIRECTORY}/config.json
|
||
|
Restart=on-failure
|
||
|
RestartSec=3
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|