[iwhd: 3/5] Snapshot (with WIP service file).

Pete Zaitcev zaitcev at fedoraproject.org
Tue Nov 22 00:38:24 UTC 2011


commit 7635428eaf7581cc007126cc66b8552f3d1c73e4
Author: Pete Zaitcev <zaitcev at yahoo.com>
Date:   Mon Nov 21 17:04:04 2011 -0700

    Snapshot (with WIP service file).

 iwhd.service |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/iwhd.service b/iwhd.service
index 0562910..177e2cb 100644
--- a/iwhd.service
+++ b/iwhd.service
@@ -2,9 +2,13 @@
 Description=Image Warehouse
 After=network.target
 
+# The "simple" type requires communication channels being established
+# by systemd with socket activation; this is not yet the case for iwhd.
+# The best bet may actually be fixing up iwhd to use sd_notify(3).
 [Service]
+EnvironmentFile=-/etc/sysconfig/iwhd
 Type=simple
-ExecStart=/usr/bin/iwhd $OPTS
+ExecStart=/usr/bin/iwhd -c /etc/iwhd/json.js $IWHD_ARGS
 
 [Install]
 WantedBy=multi-user.target


More information about the scm-commits mailing list