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
""" | |
Copyright (c) 2012-2014 RockStor, Inc. <http://rockstor.com> | |
This file is part of RockStor. | |
RockStor is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published | |
by the Free Software Foundation; either version 2 of the License, | |
or (at your option) any later version. | |
RockStor is distributed in the hope that it will be useful, but |
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
#!/usr/bin/python | |
""" | |
Copyright (c) 2012-2015 RockStor, Inc. <http://rockstor.com> | |
This file is part of RockStor. | |
RockStor is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published | |
by the Free Software Foundation; either version 2 of the License, | |
or (at your option) any later version. |
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
{ | |
"SqueezeBoxServer": { | |
"containers": { | |
"squeezebox": { | |
"image": "tdeckers/logitechmediaserver", | |
"launch_order": 1, | |
"ports": { | |
"9000": { | |
"description": "Webserver Port. Suggested default: 9000.", | |
"host_default": 9000, |
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
#!/usr/bin/python | |
import sys | |
sys.path[0:0] = [ | |
'/opt/rock-dep/src/rockstor', | |
'/opt/rock-dep/eggs/supervisor-3.0b1-py2.7.egg', | |
'/opt/rock-dep/eggs/meld3-1.0.2-py2.7.egg', | |
'/opt/rock-dep/eggs/setuptools-18.3.2-py2.7.egg', | |
'/opt/rock-dep/eggs/psutil-3.2.1-py2.7-linux-x86_64.egg', |
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
#!/usr/bin/python | |
import os | |
join = os.path.join | |
base = os.path.dirname(os.path.abspath(os.path.realpath(__file__))) | |
base = os.path.dirname(base) | |
import sys | |
sys.path[0: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
#!/usr/bin/python | |
import os | |
join = os.path.join | |
base = os.path.dirname(os.path.abspath(os.path.realpath(__file__))) | |
base = os.path.dirname(base) | |
import sys | |
sys.path[0: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
""" | |
Copyright (c) 2012-2013 RockStor, Inc. <http://rockstor.com> | |
This file is part of RockStor. | |
RockStor is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published | |
by the Free Software Foundation; either version 2 of the License, | |
or (at your option) any later version. | |
RockStor is distributed in the hope that it will be useful, but |
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
#!/usr/bin/python | |
import os | |
import sys | |
join = os.path.join | |
base = '/opt/rockstor' | |
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' |
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
#!/usr/bin/env python | |
import requests | |
import json | |
import base64 | |
import sys | |
import subprocess | |
import datetime | |
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
#!/usr/bin/env python | |
import os | |
import sys | |
import subprocess | |
from os.path import join | |
import time | |
DD = '/usr/bin/dd' | |
RCLI = '/opt/rock-dep/bin/rcli' |