ambassador.service
[Service]
Type=notify
ExecStart=/bin/bash /home/core/ambassador.sh %n registry 5000
ExecStop=/usr/bin/docker stop %n
ExecStopPost=/usr/bin/docker rm %n
NotifyAccess=all
[Unit]
#!/bin/sh | |
ns=my-namespace | |
in_ns="ip netns exec $ns" | |
# set up namespace | |
ip netns add $ns | |
$in_ns ip link set dev lo up | |
# add veth interfaces and move one to the namespace |
lxc.utsname=my-container | |
lxc.autodev=1 | |
lxc.tty=1 | |
lxc.pts=1024 | |
lxc.rootfs=/home/teemow/.lxc/my-container/rootfs | |
lxc.mount=/home/teemow/.lxc/my-container/fstab | |
lxc.cap.drop=mknod sys_module mac_admin mac_override | |
lxc.kmsg=0 | |
lxc.stopsignal=SIGRTMIN+4 | |
#networking |
ambassador.service
[Service]
Type=notify
ExecStart=/bin/bash /home/core/ambassador.sh %n registry 5000
ExecStop=/usr/bin/docker stop %n
ExecStopPost=/usr/bin/docker rm %n
NotifyAccess=all
[Unit]
I hereby claim:
To claim this, I am signing this object:
#include <ESP8266WiFi.h> | |
#include <ESP8266httpUpdate.h> | |
#include <PubSubClient.h> | |
#include <DHT.h> | |
#include <EEPROM.h> | |
const char *ssid = ""; | |
const char *pass = ""; | |
const char *room = ""; | |
const char *update_server = "192.168.15.1"; |
[Trigger] | |
Type = Package | |
Operation = Install | |
Operation = Upgrade | |
Target = intel-ucode | |
[Action] | |
Description = Sign the intel ucode for secure boot | |
Depends = sbsigntools | |
When = PostTransaction |
#!/bin/bash | |
set -eu | |
FOLDER=$1 | |
PLAYLIST=$2 | |
rm -f playlist.txt | |
mkdir -p $FOLDER | |
yt-dlp --flat-playlist -i --print-to-file url playlist.txt $PLAYLIST |