Initial scaffolding
This commit is contained in:
1 parent
15a0ff43de
commit
989415ec1f
20 files changed
+743
No files matched your search
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Mnemosyne Telegram bot (webhook receiver)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=mnemosyne
|
||||
Group=mnemosyne
|
||||
WorkingDirectory=/opt/mnemosyne
|
||||
ExecStart=/usr/bin/perl /opt/mnemosyne/bin/mnemosyne-bot --config /etc/mnemosyne/mnemosyne.conf
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
# Keep logs in the journal
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=mnemosyne-bot
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user