Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Camlistore Arch Linux Systemd

Instructions

How to install Camlistore on Arch Linux as a background process using Systemd.

YMMV, this worked for me on my system.

As a system service

  1. Install Camlistore with your AUR client of choice (e.g. yaourt -S camlistore or aura -A camlistore)
  2. Copy the camlistored.service file below to /etc/systemd/system/camlistored@.service
  3. Run systemctl enable camlistored@myuser.service (replace "myuser" with your username)
  4. Run systemctl start camlistored@myuser.service (replace "myuser" with your username)

As a user service

  1. Install Camlistore with your AUR client of choice (e.g. yaourt -S camlistore)
  2. Copy the camlistored.service file below to ~/.config/systemd/user/camlistored.service
  3. Run systemctl --user enable camlistored.service
  4. Run systemctl --user start camlistored.service
[Unit]
Description=Camlistore
After=network.target
[Service]
ExecStart=/usr/bin/camlistored
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.