[Service]
Type=simple
-Environment=AFM_ID=homescreen
-Environment=AFM_APP_INSTALL_DIR=/usr/lib/wam_apps/html5-homescreen/
ExecStartPre=sleep 5
-ExecStart=/usr/bin/WebAppMgr
+ExecStart=/usr/bin/WebAppMgr --appid=homescreen --app-install-dir=/usr/lib/wam_apps/html5-homescreen/
Restart=on-failure
[Install]