No description
Find a file
Mario Manno 1554fbaccd add readme
2018-03-07 09:09:18 +01:00
action.go Replace xsltd-ruby 2018-03-01 01:36:36 +01:00
chaospage.go Replace xsltd-ruby 2018-03-01 01:36:36 +01:00
chaospage_test.go Replace xsltd-ruby 2018-03-01 01:36:36 +01:00
config.go Listen on localhost now possible 2018-03-03 20:56:31 +01:00
README.md add readme 2018-03-07 09:09:18 +01:00
server.go Listen on localhost now possible 2018-03-03 20:56:31 +01:00
web_repo.go Replace xsltd-ruby 2018-03-01 01:36:36 +01:00
web_repo_test.go Replace xsltd-ruby 2018-03-01 01:36:36 +01:00

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