Good way to backup systemctl services?

This page summarizes the projects mentioned and recommended in the original post on /r/archlinux

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • dotfiles

    dotfiles - various system and application configuration files (by walderf)

  • already, i would suggest doing what i do here for my /etc/ files - https://github.com/walderf/dotfiles/tree/main/.config/dotfiles/etc it's too simple, really, because you just COPY the confs/dirs/etc you want to backup into ~/.config/etc/ and voila assuming you had some custom scripts/programs to go along with the service files that are perhaps hosted in ~/.local/bin, do the same thing, https://github.com/walderf/dotfiles/tree/main/.local like i do here with the share dir if they're located in /usr/local/bin/ or /usr/bin/, instead, just create a dir in ~/.config/ named ./usrbin/ or whatever, and follow the same steps. for more information how how i manage my dotfiles using only a git bare repository and github, go here https://github.com/walderf/dotfiles hope this helps?

  • svntogit-community

    Discontinued Automatic import of svn 'community' repo (read-only mirror)

  • for instance, check https://github.com/archlinux/svntogit-community/blob/packages/spotifyd/trunk/PKGBUILD

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • spotifyd

    A spotify daemon

  • https://github.com/Spotifyd/spotifyd/blob/master/contrib/spotifyd.service and the service file, see how it has WantedBy=default.target under [Install]? pretty sure it starts/enables when that target is reached during the init process of the system.

  • linux-malware-detect

    Linux Malware Detection (LMD)

  • when the package being installed is intended to be ran as a systemd service, the PKGBUILD file, which we'll reference maldet's as an example, contains a line with a command, see line 107, that places the service file, in our case this file into the location specified, /usr/lib/systemd/system/maldet.service.

  • svntogit-packages

    Discontinued Automatic import of svn 'packages' repo (read-only mirror)

  • at this point in the "install" process the default hooks have been applied, and the specific one here that matters is /usr/share/libalpm/hooks/30-systemd-daemon-reload.hook, source code.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts