Spin up an Ubuntu 17.04 droplet, because nspawn containers are slightly more difficult with Ubuntu 16.04. Install systemd-container. (This will also work on your local workstation or laptop running Ubuntu 17.04.)
apt install systemd-container
Spin up an Ubuntu 17.04 droplet, because nspawn containers are slightly more difficult with Ubuntu 16.04. Install systemd-container. (This will also work on your local workstation or laptop running Ubuntu 17.04.)
apt install systemd-container
I don't know if this is correct or not, but it's working for me. First, torrent/download the latest iso and write it to a thumb drive with ddrescue
ddrescue -D --force Solus-1.2.1.iso /dev/sdX
On my machine you can write the thumb drive using USB 3, but you have to
#!/usr/bin/env python3 | |
# check_last_dist_upgrade_via_ssh.py | |
import sys,re | |
from optparse import OptionParser | |
from time import time | |
from datetime import date | |
from subprocess import run, PIPE | |
parser = OptionParser() |
This is for logging from a flask app with sendxmpp, because prosody is far easier to set up compared to setting up an email server.
Not only is prosody easy to setup, but it is very well-documented,
has it's own ppa,
and it's also trivial to add a hook for Let's Encrypt Certs in your certbot renew
cron.
I find that poezio is a great xmpp client on Linux, and Yaxim is great on Android.
# mysite/mysite/django_sendxmpp_handler.py | |
from logging import Handler | |
from os import popen | |
from django.conf import settings | |
LOGGING_XMPP_CONFIG = settings.LOGGING_XMPP_CONFIG | |
class SENDXMPPHandler(Handler): | |
def emit(self, record): |