first deployment of kikomiko with url photos
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
8d98304137
commit
ae3ed7c7b7
@@ -0,0 +1,24 @@
|
||||
[Unit]
|
||||
Description=Kikomiko Admin CMS
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=www-data
|
||||
Group=www-data
|
||||
WorkingDirectory=/var/www/kikomiko/admin
|
||||
Environment=ADMIN_USER=admin
|
||||
# Set a strong password before first start, then remove this line after login
|
||||
# and change password in the admin UI (Settings).
|
||||
Environment=ADMIN_PASS=CHANGE_ME_TO_A_STRONG_PASSWORD
|
||||
ExecStart=/usr/bin/python3 /var/www/kikomiko/admin/server.py --host 127.0.0.1 --port 8090
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectSystem=full
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/var/www/kikomiko/admin/data /var/www/kikomiko/dist/data
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user