Skip to content

Instantly share code, notes, and snippets.

@victorquinn
Created August 29, 2016 01:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save victorquinn/873ad69a5cbc2cea3c60fffe1e14a3e2 to your computer and use it in GitHub Desktop.
Save victorquinn/873ad69a5cbc2cea3c60fffe1e14a3e2 to your computer and use it in GitHub Desktop.
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