-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'EpistasisLab:master' into master
- Loading branch information
Showing
7 changed files
with
60 additions
and
33 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[Unit] | ||
Description=AliroEd Load Service | ||
After=docker.service | ||
Requires=docker.service | ||
|
||
[Service] | ||
Type=oneshot | ||
WorkingDirectory=/images | ||
ExecStart=/usr/bin/docker load -i /images/aliro_dbmongo.tar.gz | ||
ExecStart=/usr/bin/docker load -i /images/aliro_lab.tar.gz | ||
ExecStart=/usr/bin/docker load -i /images/aliro_machine.tar.gz | ||
ExecStartPost=/bin/systemctl disable aliroed-load.service | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,2 @@ | ||
# Place this file in /etc/xdg/openbox/ | ||
# Disable any form of screen saver / screen blanking / power management | ||
xset s off | ||
xset s noblank | ||
xset -dpms | ||
|
||
# Allow quitting the X server with CTRL-ATL-Backspace | ||
setxkbmap -option terminate:ctrl_alt_bksp | ||
|
||
# Start Chromium in kiosk mode | ||
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' ~/.config/chromium/'Local State' | ||
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/; s/"exit_type":"[^"]\+"/"exit_type":"Normal"/' ~/.config/chromium/Default/Preferences | ||
chromium-browser --disable-infobars --kiosk 'file:///intropage/index.html' | ||
# Add this line at the bottom of the /etc/xdg/openbox/ file | ||
chromium-browser --start-maximized |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#/bin/bash | ||
mkdir /images | ||
docker save moorelab/aliro_dbmongo | gzip > /images/aliro_dbmongo.tar.gz | ||
docker save moorelab/aliro_lab | gzip > /images/aliro_lab.tar.gz | ||
docker save moorelab/aliro_machine | gzip > /images/aliro_machine.tar.gz |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#/bin/bash | ||
docker system prune -a -f | ||
docker volume prune -a |
This file contains 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