mirror of
https://github.com/cccc/xsltd-web
synced 2025-12-09 01:24:00 +01:00
No description
| action.go | ||
| chaospage.go | ||
| chaospage_test.go | ||
| config.go | ||
| README.md | ||
| server.go | ||
| web_repo.go | ||
| web_repo_test.go | ||
XSLTD-CHAOSPAGE
Dependencies
- xalan-c
Running locally
#!/bin/sh
go get github.com/c4/xsltd-web
go install github.com/c4/xsltd-web
export XALAN=/usr/local/bin/Xalan
export WEBROOT=$HOME/workspace/xsltd-c4/svn/sandbox
xsltd-web
Run via systemd
[Unit]
Description=xsltd - serving chaospage XML with XSL
After=network.target
[Service]
Type=simple
Environment=WEBROOT=/srv/www/chaospages
Environment=LISTEN=localhost:8123
User=www-data
ExecStart=/usr/local/bin/xsltd-web
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=xsltd-chaospage
[Install]
WantedBy=default.target