B.nana Technology Log in
Version 9ceaf3f committed by Binokkio.

systemd service

The following systemd service file works with MarkdownUp.

[Unit]
Description=MarkdownUp
After=network.target

[Service]
Type=simple
Restart=always
RestartSec=1
User=xxx
Group=xxx
ExecStart=/usr/bin/python -m markdownup /xxx/markdownup.yml

[Install]
WantedBy=multi-user.target