diff --git a/StaticRoot/explorer.js b/StaticRoot/explorer.js index 804aa91..22c9d72 100644 --- a/StaticRoot/explorer.js +++ b/StaticRoot/explorer.js @@ -87,7 +87,7 @@ Vue.component('reg-attribute', { return reg[2] }, decorated: function() { - return anchorme(this.content, { + return anchorme(this.content.replace(/\n/g, "
"), { truncate: 40, ips: false, attributes: [ { name: "target", value: "_blank" } ] diff --git a/contrib/dn42regsrv.service b/contrib/dn42regsrv.service new file mode 100644 index 0000000..d170c64 --- /dev/null +++ b/contrib/dn42regsrv.service @@ -0,0 +1,22 @@ +########################################################################## +# dn42regsrv example systemd service file +########################################################################## + +[Unit] +Description=DN42 Registry API Server +After=network.target + +[Install] +WantedBy=multi-user.target + +[Service] +User=regsrv +Group=registry +Type=simple +Restart=on-failure +ExecStart=/home/regsrv/go/bin/dn42regsrv \ + -s /home/regsrv/go/src/git.dn42.us/burble/dn42regsrv/StaticRoot \ + -d /home/regsrv/registry + +######################################################################### +# end of file