From ccca67d5c4bb682cd4c97a55df7807fc9480983f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knuti=5Fin=5FP=C3=A4se?= Date: Sun, 15 Jan 2023 20:19:38 +0100 Subject: [PATCH] RPi: update description on ahoy.service Automatic operation of Ahoy on an RPi can be based on the systemd method. To activate systemd processes for ahoy, the config ahoy.service is needed. --- tools/rpi/ahoy.service | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/tools/rpi/ahoy.service b/tools/rpi/ahoy.service index 68b0a121..394bc09e 100644 --- a/tools/rpi/ahoy.service +++ b/tools/rpi/ahoy.service @@ -1,22 +1,24 @@ ###################################################################### # systemd.service configuration for ahoy (lumapu) # users can modify the lines: -# - Description -# - ExecStart (for example: name of config file) -# - WorkingDirectory -# To change other configs, please consult systemd documentation +# Description +# ExecStart (example: name of config file) +# WorkingDirectory (absolute path to your private ahoy dir) +# To change other config parameter, please consult systemd documentation # -# to activate this service, create a link like: -# $ mkdir -p $HOME/.config/systemd/user && ln -sf $(pwd)/ahoy/tools/rpi/ahoy.service -t $HOME/.config/systemd/user +# To activate this service, create a link, enable and start the ahoy.service +# $ mkdir -p $HOME/.config/systemd/user +# $ ln -sf $(pwd)/ahoy/tools/rpi/ahoy.service -t $HOME/.config/systemd/user # $ systemctl --user status ahoy # $ systemctl --user enable ahoy # $ systemctl --user start ahoy +# $ systemctl --user status ahoy # # 2023.01 ###################################################################### [Unit] - + Description=ahoy (lumapu) as Service After=network.target local-fs.target time-sync.target @@ -32,3 +34,4 @@ EnvironmentFile=/etc/environment [Install] WantedBy=default.target +