mirror of https://github.com/dani/vroom.git
parent
bee623937b
commit
146d1b7881
6 changed files with 36 additions and 6 deletions
@ -0,0 +1,16 @@ |
||||
[Unit] |
||||
Description=VROOM daemon |
||||
After=mariadb.service |
||||
|
||||
[Service] |
||||
Type=simple |
||||
ExecStart=/opt/vroom/scripts/start_hypnotoad |
||||
PIDFile=/tmp/vroom.pid |
||||
PrivateTmp=yes |
||||
User=apache |
||||
Group=apache |
||||
|
||||
[Install] |
||||
WantedBy=multi-user.target |
||||
Wants=mariadb.service httpd.service |
||||
|
@ -0,0 +1,6 @@ |
||||
#!/bin/sh |
||||
|
||||
DIR=$(dirname $0) |
||||
export PERL5LIB="$DIR/../lib/" |
||||
cd $DIR/.. |
||||
hypnotoad -f vroom.pl "$*" |
@ -1,5 +1,5 @@ |
||||
<% |
||||
foreach my $js (qw(simplewebrtc.bundle.js jquery.browser.min.js sprintf.js FileSaver.js jquery.tinytimer.min.js etherpad.js)){ |
||||
%> |
||||
<script type="text/javascript" src="<%= $self->get_url('/') %><%= $self->get_mtime("js/$js") %>/js/<%= $js %>"></script> |
||||
<script type="text/javascript" src="<%= $self->get_url('/') %><%= $self->get_mtime("public/js/$js") %>/js/<%= $js %>"></script> |
||||
<% } %> |
||||
|
Loading…
Reference in new issue