28 lines
487 B
SYSTEMD
28 lines
487 B
SYSTEMD
|
|
||
|
[Unit]
|
||
|
Description=isso commenting system
|
||
|
After=system.slice multi-user.target postgresql.service
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/etc/isso/isso-start.sh
|
||
|
|
||
|
Restart=on-failure
|
||
|
TimeoutSec=1
|
||
|
User=git
|
||
|
|
||
|
LimitNOFILE=16384
|
||
|
LimitNPROC=16384
|
||
|
LimitLOCKS=16384
|
||
|
|
||
|
# ensures that the service process and all its children can
|
||
|
never gain new
|
||
|
# privileges.
|
||
|
NoNewPrivileges=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|
||
|
## taken from: <https://blog.phusion.nl/2018/08/16/isso-sim
|
||
|
ple-self-hosted-commenting-system/>
|
||
|
|