Update setup.sh for scanservjs
This commit is contained in:
parent
013d1aad51
commit
099e533a54
2
setup.sh
2
setup.sh
@ -13,7 +13,7 @@ $sudo mv /etc/cups/cupsd.conf /etc/cups/cupsd.conf.orig
|
|||||||
$sudo cp $run_directory/cupsd.conf /etc/cups/cupsd.conf
|
$sudo cp $run_directory/cupsd.conf /etc/cups/cupsd.conf
|
||||||
|
|
||||||
echo "Installing scanservjs directly from GitHub..."
|
echo "Installing scanservjs directly from GitHub..."
|
||||||
curl -s https://raw.githubusercontent.com/sbs20/scanservjs/master/packages/server/installer.sh | $sudo bash -s -- -a
|
curl -s https://raw.githubusercontent.com/sbs20/scanservjs/master/bootstrap.sh | sudo bash -s -- -v latest
|
||||||
|
|
||||||
echo "Generating TLS certificate"
|
echo "Generating TLS certificate"
|
||||||
$sudo openssl req -newkey rsa:4096 -x509 -sha256 -days 999 -nodes -out /etc/ssl/cert.crt -keyout /etc/ssl/cert.key \
|
$sudo openssl req -newkey rsa:4096 -x509 -sha256 -days 999 -nodes -out /etc/ssl/cert.crt -keyout /etc/ssl/cert.key \
|
||||||
|
Loading…
Reference in New Issue
Block a user