matrix-appservice-kakaotalk/systemd/matrix-appservice-kakaotalk-node.service
Andrew Ferrazzutti 780dbed7c2 Set group ownership of systemd service config dir
Also mention that linking to config files is possible
2022-04-28 22:26:33 -04:00

21 lines
588 B
Desktop File

[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
ConfigurationDirectoryMode=775
RuntimeDirectory=matrix-appservice-kakaotalk
RuntimeDirectoryPreserve=yes
ExecStart=/usr/bin/env node src/main.js --config ${CONFIGURATION_DIRECTORY}/node-config.json
Restart=on-failure
RestartSec=3
[Install]
WantedBy=multi-user.target