Upload full Albumik YunoHost package

This commit is contained in:
adminsopel
2026-05-01 09:06:44 +02:00
parent 2145989988
commit f8beabe293
16 changed files with 1690 additions and 0 deletions

20
conf/albumik.service Normal file
View File

@@ -0,0 +1,20 @@
[Unit]
Description=Albumik private photo album
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__
Environment=ALBUMIK_CONFIG=/etc/__APP__/config.json
ExecStart=/usr/bin/python3 __INSTALL_DIR__/backend/app.py
Restart=on-failure
RestartSec=3
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=full
ReadWritePaths=__DATA_DIR__
[Install]
WantedBy=multi-user.target