add systemd unit file

This commit is contained in:
Joe 2025-12-21 16:55:15 -08:00
parent fe1318ba4b
commit 6a7895124c

18
blogdor.service Normal file
View file

@ -0,0 +1,18 @@
[Unit]
Description=Blogdor the Aggregator
After=network.target network-online.target
Requires=network-online.target
[Service]
Type=exec
User=blogdor
Group=blogdor
ExecStart=/var/lib/blogdor/blogdor -e /var/lib/blogdor/.env
TimeoutStopSec=5s
LimitNOFILE=1048576
LimitNPROC=512
PrivateTmp=true
ProtectSystem=full
[Install]
WantedBy=multi-user.target