- Zero dependencies (Python 3 stdlib + SQLite) - Hastebin-compatible API - Clean dark UI matching Forge Panel - systemd service included - ~330 lines, single file
15 lines
323 B
Desktop File
15 lines
323 B
Desktop File
[Unit]
|
|
Description=Forge Paste Server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=www-data
|
|
Group=www-data
|
|
ExecStart=/usr/bin/python3 /opt/forge-paste/forge-paste.py --port 7890 --host 127.0.0.1
|
|
Restart=always
|
|
RestartSec=5
|
|
Environment=FORGE_PASTE_DB=/var/lib/forge-paste/pastes.db
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|