Skip to content

Instantly share code, notes, and snippets.

@feld
feld / fix-freebsd-update.sh
Created July 11, 2019 16:45 — forked from pacohope/fix-freebsd-update.sh
There I "fixed" freebsd-update.
#!/bin/sh
# Fork of https://gist.github.com/thefloweringash/8729473
#
# freebsd-update is a clever script that downloads a lot of bsdiff
# patches and whole files when patches are not suitable. The result of
# this process is a collection of files in
# /var/db/freebsd-update/files. If the files already exist, it will
# not fetch them again.
#
@feld
feld / gist:d3fb3f563f58109e7a45f63f0cbb591c
Created October 9, 2018 20:49
pleroma daemontools run script
#!/bin/sh
exec 2>&1
export MIX_ENV=prod
export HOME=/usr/local/pleroma
export PATH=${PATH}:/usr/local/bin:/usr/local/sbin
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
#export ERL_COMPILER_OPTIONS="native"
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: pleroma
# REQUIRE: LOGIN
#
# Add the following line to /etc/rc.conf to enable pleroma:
#
# pleroma_enable="YES"