A common and reliable pattern in service unit files is thus:
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict
from bottle import request, response, PluginError | |
class FlashMsgPlugin(object): | |
"""Usage: | |
from bottle import Bottle, route, run, redirect, template | |
from bottle_flash2 import FlashMsgPlugin | |
app = Bottle() | |
COOKIE_SECRET = 'your_secret_key' | |
app.install(FlashMsgPlugin(secret=COOKIE_SECRET)) |
I hereby claim:
To claim this, I am signing this object: