2022-04-08 18:53:57 +02:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<rougail version="0.10">
|
|
|
|
<services>
|
2022-04-28 21:48:16 +02:00
|
|
|
<service name="piwigo" engine="creole" target="multi-user">
|
|
|
|
<file source="tmpfile-piwigo.conf">/tmpfiles.d/0piwigo.conf</file>
|
|
|
|
<file>/etc/piwigo/config.inc.php</file>
|
|
|
|
<file>/etc/piwigo/database.inc.php</file>
|
2022-08-18 10:19:43 +02:00
|
|
|
<file mode="755">/sbin/piwigo.sh</file>
|
2022-04-28 21:48:16 +02:00
|
|
|
<file engine="none">/etc/php-fpm.d/piwigo.conf</file>
|
2022-08-19 20:30:13 +02:00
|
|
|
<file source="piwigo.nginx.conf">/etc/nginx/default.d/piwigo.conf</file>
|
2022-04-08 18:53:57 +02:00
|
|
|
</service>
|
|
|
|
</services>
|
|
|
|
<variables>
|
2022-04-28 21:48:16 +02:00
|
|
|
<variable name="piwigo_admin_email" type="mail" description="Adresse courriel de l'administrateur Piwigo" mandatory="True"/>
|
2022-06-24 19:00:16 +02:00
|
|
|
<variable name="piwigo_admin_password" type="password" auto_save="False" hidden="True"/>
|
2022-08-19 20:30:13 +02:00
|
|
|
<variable name="piwigo_locations" type="filename" multi="True" mandatory="True"/>
|
2022-04-28 21:48:16 +02:00
|
|
|
<variable name="piwigo_title" type="string" description="Titre de l'album" mandatory="True">
|
|
|
|
<value>Album photographique</value>
|
|
|
|
</variable>
|
|
|
|
<family name="users" leadership="True">
|
|
|
|
<variable name="piwigo_users" type="unix_user" description="Utilisateur ayant un album" multi="True" mandatory="True"/>
|
|
|
|
<variable name="piwigo_email" type="mail" description="Adresse courriel" mandatory="True"/>
|
|
|
|
</family>
|
|
|
|
<family name="oauth2_client">
|
|
|
|
<variable name="oauth2_is_client_application" redefine='True'>
|
|
|
|
<value>True</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_name" redefine='True'>
|
|
|
|
<value>Album</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_description" redefine='True'>
|
|
|
|
<value>Album photographique Piwigo</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_category" redefine='True'>
|
|
|
|
<value>Diffusion</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_logo" redefine='True'>
|
|
|
|
<value>silique_image.png</value>
|
|
|
|
</variable>
|
2022-04-08 18:53:57 +02:00
|
|
|
</family>
|
|
|
|
</variables>
|
2022-04-28 21:48:16 +02:00
|
|
|
<constraints>
|
|
|
|
<fill name="get_password">
|
|
|
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
|
|
|
<param name="username">admin_password</param>
|
|
|
|
<param name="description">piwigo</param>
|
|
|
|
<param name="type">cleartext</param>
|
2022-06-24 19:00:16 +02:00
|
|
|
<param name="hide" type="variable">hide_secret</param>
|
2022-04-28 21:48:16 +02:00
|
|
|
<target>piwigo_admin_password</target>
|
|
|
|
</fill>
|
|
|
|
<fill name="get_locations">
|
|
|
|
<param name="usernames" type="variable">piwigo_users</param>
|
2022-08-19 20:30:13 +02:00
|
|
|
<target>piwigo_locations</target>
|
2022-04-28 21:48:16 +02:00
|
|
|
</fill>
|
|
|
|
</constraints>
|
2022-04-08 18:53:57 +02:00
|
|
|
</rougail>
|