chruby
This is an old revision of the document!
chruby
For systemd services, this should be sufficient:
Environment="PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" Environment="SHELL=/bin/zsh" ExecStart=/opt/rubies/ruby-3.0.3/bin/ruby /home/slack/porridge/weather/bin/weatherd
See instructions for cron, congifuring systemd environment and setting PATH for systemd.
chruby.1676066384.txt.gz · Last modified: 2023/02/10 21:59 by slack