divert(-1)
+dnl vim: set filetype=sysctl.conf.m4 syntax=sysctl.conf.m4:
-----------------------------------------------------------------------
-- Set the comment character of m4 to ; instead of #
-- This is needed for substitution within lines starting with #
-----------------------------------------------------------------------
--
+ when home screen will use real ids
+ use TARGET={{:id}}--{{:ver}}--{{:#target}}
+ instead of TARGET={{idaver}}{{^#target=main}}@{{:#target}}{{/#target=main}}
+
define( `TARGET', `{{idaver}}{{^#target=main}}@{{:#target}}{{/#target=main}}')
-define( `UNIT_NAME_BASE', `afm-ON_PERM(`:public:hidden', `service', `appli')-{{:id}}--{{:ver}}--{{:#target}}')
+define( `UNIT_NAME_BASE', `afm-ON_PERM(`:public:hidden', `service', `appli')-{{:id}}--{{:ver}}--{{:#target}}@')
define( `UNIT_NAME_SERVICE', `UNIT_NAME_BASE%i.service')
define( `UNIT_NAME_SOCKET_FOR', `afm-api-ws-$1@%i.socket')
+define( `APP_DATA_DIR', `/home/%i/app-data')
+define( `USER_RUN_DIR', `/run/user/%i')
-----------------------------------------------------------------------
--