ClearBlog/systemd-clear-blog.service

18 lines
392 B
Desktop File

[Unit]
Description=ClearBlog
Documentation=https://git.sceptique.eu/Sceptique/ClearBlog
[Service]
ExecStart=/srv/ClearBlog/bin/blog
Restart=on-failure
RestartSec=5
User=clearblog
Group=clearblog
WorkingDirectory=/srv/ClearBlog
Environment=APP_ENV=production
Environment=APP_PORT=10666
Environment=APP_BIND=127.0.0.1
Environment=RUBYOPT="-KU -E utf-8:utf-8"
[Install]
WantedBy=default.target