1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00
This commit is contained in:
Éric Gaspar 2023-08-21 17:47:32 +02:00
parent 53b8b02eae
commit 000a7d7b6c
3 changed files with 3 additions and 2 deletions

View file

@ -40,5 +40,6 @@ return [
'system' => [ 'system' => [
'default_timezone' => '__TIMEZONE__', 'default_timezone' => '__TIMEZONE__',
'language' => '__LANGUAGE__', 'language' => '__LANGUAGE__',
'pidfile' => '/run/friendica/daemon.pid',
], ],
]; ];

View file

@ -4,10 +4,10 @@ After=network.target mariadb.service
Requires=network.target remote-fs.target nss-lookup.target Requires=network.target remote-fs.target nss-lookup.target
[Service] [Service]
Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/ WorkingDirectory=__INSTALL_DIR__/
Type=simple
StandardOutput=null StandardOutput=null
StandardError=syslog StandardError=syslog
ExecStart=/usr/bin/php__PHPVERSION__ __INSTALL_DIR__/bin/daemon.php start ExecStart=/usr/bin/php__PHPVERSION__ __INSTALL_DIR__/bin/daemon.php start

View file

@ -66,7 +66,7 @@ ram.runtime = "50M"
main.url = "/" main.url = "/"
[resources.apt] [resources.apt]
packages = "mariadb-server php8.2-curl php8.2-mbstringphp8.2-imagick php8.2-xml php8.2-zip php8.2-mysql php8.2-gd php8.2-gmp" packages = "mariadb-server php8.2-curl php8.2-mbstring php8.2-imagick php8.2-xml php8.2-zip php8.2-mysql php8.2-gd php8.2-gmp"
[resources.database] [resources.database]
type = "mysql" type = "mysql"