client/tools/osad/osa-dispatcher.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 01ee9e6e9f263a04deddf76b1c7cafed33395769 Author: Jan Pazdziora jpazdziora@redhat.com Date: Wed Aug 29 09:24:58 2012 +0200
We cannot use PIDFile as variable in ExecStart.
Addressing osa-dispatcher[21278]: Usage: osa-dispatcher [options] osa-dispatcher[21278]: osa-dispatcher: error: --pid-file option requires an argument systemd[1]: osa-dispatcher.service: main process exited, code=exited, status=2
diff --git a/client/tools/osad/osa-dispatcher.service b/client/tools/osad/osa-dispatcher.service index 92958e7..e6c1ce2 100644 --- a/client/tools/osad/osa-dispatcher.service +++ b/client/tools/osad/osa-dispatcher.service @@ -5,7 +5,7 @@ After=syslog.target network.target [Service] EnvironmentFile=-/etc/sysconfig/osa-dispatcher PIDFile=/var/run/osa-dispatcher.pid -ExecStart=/usr/sbin/osa-dispatcher --pid-file $PIDFile +ExecStart=/usr/sbin/osa-dispatcher --pid-file /var/run/osa-dispatcher.pid
[Install] WantedBy=multi-user.target
spacewalk-commits@lists.fedorahosted.org