15 lines
220 B
Plaintext
15 lines
220 B
Plaintext
[Unit]
|
|
Description=Matrix chatbot
|
|
After=multi-user.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=3
|
|
User=mchatbot
|
|
WorkingDirectory=${DIR}
|
|
ExecStart=${DIR}/bin/python run.py
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|