# User-scope systemd unit. Install with: # mkdir -p ~/.config/systemd/user # cp systemd/stonks.service systemd/stonks.timer ~/.config/systemd/user/ # systemctl --user daemon-reload # systemctl --user enable --now stonks.timer # loginctl enable-linger "$USER" # so it still runs while logged out [Unit] Description=Daily financial news & market analysis After=network-online.target Wants=network-online.target [Service] Type=oneshot EnvironmentFile=%h/.config/stonks/secrets.env ExecStart=%h/.local/bin/stonks --config %h/.config/stonks/config.yaml