Skip to content

Instantly share code, notes, and snippets.

View alexlarsson's full-sized avatar

Alexander Larsson alexlarsson

View GitHub Profile
@alexlarsson
alexlarsson / build.sh
Last active April 3, 2019 12:14
fontconfig new cache test
#!/bin/sh
flatpak-builder --ccache --install-deps-from=flathub --user --repo=repo --keep-build-dirs --force-clean builddir org.fontconfig.Sdk.json
#include <printf.h>
#include <stdio.h>
#include <glib.h>
G_LOCK_DEFINE_STATIC (unique_pointer);
static GHashTable *unique_pointer_ht = NULL;
static gsize unique_pointer_id = 0;
static gconstpointer
uniquify_pointer (gconstpointer ptr)
#include <glib.h>
#include <gio/gio.h>
#include <gio/gunixinputstream.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
struct fsverity_descriptor {

Proxying Services

This daemon + template service file creates the ability to start a "proxy" service. This service will when started, either start or pick up an already running service of the given name and proxy its state (i.e. wheter its started or not, and whether activation succeeded).

So, starting test-proxy@foobar.service will start foobar.service if needed, and the proxy will be considered active when foobar becomes

INSTALL:
$ dnf copr enable -y mperina/hirte-snapshot
$ dnf install hirte hirte-agent
CONFIGURE:
$ cp myagent.conf /etc/hirte/agent.conf.d/
$ cp myhirte.conf /etc/hirte/hirte.conf.d/
$ systemctl start hirte-agent.service