# demo - SWI-Prolog demo server
#
# The SWI-Prolog demo server

[Unit]
Description=SWI-Prolog demo server

[Service]
UMask=022
Environment=LANG=en_US.utf8
Restart=on-failure
StartLimitInterval=60
StartLimitBurst=5
WorkingDirectory=/home/swipl/src/demo
ExecStart=/usr/bin/swipl daemon.pl --no-fork --port=80 --user=www-data \
	  --pidfile=/var/run/demo.pid --workers=16 --syslog=demo

[Install]
WantedBy=multi-user.target
