19 lines
584 B
SYSTEMD
19 lines
584 B
SYSTEMD
[Unit]
|
|
Description=matrix-appservice-kakaotalk bridge
|
|
After=multi-user.target network.target
|
|
|
|
[Service]
|
|
; User=matrix-appservice-kakaotalk
|
|
; Group=matrix-appservice-kakaotalk
|
|
WorkingDirectory=/opt/matrix-appservice-kakaotalk
|
|
ConfigurationDirectory=matrix-appservice-kakaotalk
|
|
ConfigurationDirectoryMode=775
|
|
RuntimeDirectory=matrix-appservice-kakaotalk
|
|
RuntimeDirectoryPreserve=yes
|
|
ExecStart=/opt/matrix-appservice-kakaotalk/.venv/bin/python -m matrix_appservice_kakaotalk -c ${CONFIGURATION_DIRECTORY}/config.yaml
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|