summarylogtreecommitdiffstats
path: root/openacs.service
blob: 5483518f5a60a0423912d9f1f495c6c94051ec90 (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.1.tcl

Restart=on-abnormal
KillMode=process