Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcelRobitaille/19541379a55f19e21a8d8774a55662bf to your computer and use it in GitHub Desktop.
Save MarcelRobitaille/19541379a55f19e21a8d8774a55662bf to your computer and use it in GitHub Desktop.
# The components section contains an ordered list of components you wish to
# print in the MOTD. They will be printed in the order they are defined in
# this file. Duplicate components will override previous definitions. Every
# component has an "enabled" setting which will turn the component on or off.
components:
#####
# ASCII Text Art
# Generates ASCII pictures of strings.
#
# Settings
# font: The figlet font to render the text with. All supported fonts
# can be found at http://www.figlet.org/fontdb.cgi
# color: The color of the resulting text art. Supports the standard base-8
# colors: black, red, green, yellow, blue, magenta, cyan, and white. You
# can also use 'default' for your default terminal color. Additionally,
# you can prefix any of the base colors with 'light_' to get the lighter
# version.
# command: The command to run which generates the text to display.
#####
ascii_text_art:
enabled: true
font: slant
color: red
command: hostname
#####
# Service Status
# Displays the current state of services running on the system. Currently
# only supports systemd.
#
# Settings
# services: Pairs following the format "service_name: Pretty Name". The
# service_name is the name of the systemd service to look for, NOT
# including the '.service' suffix. The pretty name is the name that is
# used in the MOTD to represent that service.
#####
service_status:
enabled: true
services:
Apollo: Apollo
sshd.socket: sshd
nginx: Nginx
octoprint: OctroPrint
jellyfin: jellyfin
gitlab-sidekiq: gitlab-sidekiq
gitlab-puma: gitlab-puma
gitlab-workhorse: gitlab-workhorse
gitlab-gitaly: gitlab-gitaly
mariadb: MariaDB
postgresql: postgresql
syncthing@marcel: syncthing
openvpn-server@server: OpenVPN
coturn: CoTURN
#####
# Uptime
# Displays the current uptime of the machine.
#
# Settings
# prefix: The text to prepend to the uptime string.
#####
uptime:
enabled: true
prefix: Uptime
#####
# SSL Certificates
# Displays the validity and expiration dates of SSL certificates.
#
# Settings
# certs: Pairs following the format "PrettyName: absolute_cert_file_path".
# The absolute_cert_file_path is the absolute file path of the SSL
# certificate. The pretty name is the name that is used in the MOTD to
# represent that certificate, typically a domain name.
#####
ssl_certificates:
enabled: true
certs:
...: /etc/letsencrypt/live/.../cert.pem
#####
# Filesystems
# Displays filesystem usage information.
#
# Settings
# filesystems: Pairs following the format "filesystem_name: Pretty Name".
# The filesystem_name is the name of the filesystem listed when using the
# `df` command line tool. The pretty name is the name that is used in the
# MOTD to represent that filesystem.
#####
filesystems:
enabled: true
filesystems:
/dev/sda2: root
#####
# Last Login
# Displays previous login information for users.
#
# Settings
# users: A list of user names which you are interested in receiving login
# information about. The key is the username, and the value is the number
# of recent logins you'd like to display.
#####
# last_login:
# enabled: true
# users:
# marcel: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment