Debian/Ubuntu and derivatives
apt-get install curl apt-transport-https ca-certificates
First obtain the repository key:
sudo curl -fsSL https://repo.jotta.us/public.asc -o /usr/share/keyrings/jotta.gpg
Save the repo information to apt sources :
echo "deb [signed-by=/usr/share/keyrings/jotta.gpg] https://repo.jotta.us/debian debian main" | sudo tee /etc/apt/sources.list.d/jotta-cli.list
sudo apt-get update
Install the package
sudo apt-get install jotta-cli
The package supplies init script for running
jotta-cli in systemd user slice
For each user in the system that should run
jotta-cli, enable it with:
The daemon should now be started with user login.
To get started:
Starting at boot
As jottad is now running in a user slice it will not start at boottime unless you also create a usersession at boot time.
You can use
loginctl enable-linger USERNAME to start a usersession for USERNAME at boottime and jottad will start in that session.
more info here: https://wiki.archlinux.org/title/systemd/User#Automatic_start-up_of_systemd_user_instances