add systemd unit file
This commit is contained in:
parent
fe1318ba4b
commit
6a7895124c
1 changed files with 18 additions and 0 deletions
18
blogdor.service
Normal file
18
blogdor.service
Normal 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
|
||||||
Loading…
Reference in a new issue