diff --git a/changes-initd-systemd b/changes-initd-systemd index 559102b1..53fd23f9 100644 --- a/changes-initd-systemd +++ b/changes-initd-systemd @@ -58,11 +58,13 @@ are some changes in running AFD as a background daemon. 1) Copy the afd@.service file with an instance name foo to /etc/systemd/system/afd.target.wants as follows: - cp /usr/lib/systemd/system/afd@.service /etc/systemd/system/afd.target.wants/afd@foo.service + cd /usr/lib/systemd/system + cp afd@.service afd@foo.service Edit the file afd@foo.service and change the line 'User=%i' by resolving %i to the real username under - which the AFD instance should run. + which the AFD instance should run. Then do a + 'systemctl daemon-reload'. 2) Next create the environment file /etc/afd/foo_environment.conf and set the variable AFD_WORK_DIR variable to point to the diff --git a/doc/html-en/setup.html b/doc/html-en/setup.html index 8235859b..af042c13 100644 --- a/doc/html-en/setup.html +++ b/doc/html-en/setup.html @@ -102,9 +102,10 @@
- cp /usr/lib/systemd/system/afd@.service /etc/systemd/system/afd.target.wants/afd@donald_tick.service - cp /usr/lib/systemd/system/afd@.service /etc/systemd/system/afd.target.wants/afd@donald_trick.service - cp /usr/lib/systemd/system/afd@.service /etc/systemd/system/afd.target.wants/afd@donald_track.service + cd /usr/lib/systemd/system + cp afd@.service afd@donald_tick.service + cp afd@.service afd@donald_trick.service + cp afd@.service afd@donald_track.service
These three files must then be modified by the system administrator by @@ -134,13 +135,17 @@
+Then issue the command 'systemctl daemon-reload', so systemd sees those +modifications. +
Copyright © 2020 by H.Kiehl Holger.Kiehl@dwd.de - Last updated: 10.08.2020 + Last updated: 19.08.2020 |
![]() |
![]() |