summarylogtreecommitdiffstats
path: root/openacs.service
blob: f81e1aea545b3dd78c589e4f66038f9826916f55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=OpenACS/Naviserver
After=network.target postgresql.service
Wants=postgresql.service

[Service]
Type=forking
PIDFile=/usr/lib/openacs/log/nsd.pid
Environment="LANG=en_US.UTF-8"
ExecStartPre=/bin/rm -f /usr/lib/openacs/log/nsd.pid

# standard startup (non-privileged port, like 8000)
ExecStart=/usr/bin/nsd -u nsadmin -g nsadmin -t /etc/naviserver/config-oacs-5.9.0.tcl

Restart=on-abnormal
KillMode=process