This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/bash | |
# The path to your FoundryVTT data. Change this as necessary. | |
DATA_DIR="$HOME/foundrydata/" | |
# Where you want your backups to be stored. | |
BACKUP_DIR="$DATA_DIR/../foundry_backups/" | |
# How many backups to keep before deleting the oldest one. | |
MAX_BACKUPS=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/sbin/openrc-run | |
name="nix-daemon" | |
description="Nix Daemon" | |
supervisor="supervise-daemon" | |
command="/nix/var/nix/profiles/default/bin/nix-daemon" | |
pidfile="/run/${RC_SVCNAME}.pid" | |
command_background=true |