This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/OpenSCAP/openscap.git | |
cd openscap | |
sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev \ | |
libxml2-dev \ | |
libxslt-dev \ | |
libpcre3-dev \ | |
libgcrypt20-dev \ | |
libbz2-dev \ | |
swig \ | |
python-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `seq 30`; do sleep 1; echo -n .; read -r -s -t 0.5; RETVAL=$?; [ $RETVAL -eq 0 ] && break ; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# | |
# Copyright 2014 Tony Burns | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Service] | |
Environment=TS_SOCKET=/tsp/tsp-web.socket | |
Environment=TMPDIR=/tsp/ | |
UMask=0002 | |
WorkingDirectory=/usr/lib/node_modules/tsp-web | |
ExecStart=/usr/bin/node /usr/lib/node_modules/tsp-web/index.js | |
KillSignal=SIGQUIT | |
KillMode=process | |
TimeoutStopSec=15s | |
Restart=always |