upload to github

This commit is contained in:
jrosh 2025-06-07 16:14:00 +02:00
commit ae9ca74ac6
No known key found for this signature in database
GPG key ID: A4D68DCA6C9CCD2D
23 changed files with 2133 additions and 0 deletions

24
beat-harvester.service Normal file
View file

@ -0,0 +1,24 @@
[Unit]
Description=Beat Harvester, minimal self-hosted music downloader
After=network.target
[Service]
Type=simple
User=musicdl
Group=musicdl
WorkingDirectory=/opt/beat-harvester
ExecStart=/opt/beat-harvester/beat-harvester
Restart=always
RestartSec=10
Environment=PORT=3000
Environment=OUTPUT_PATH=/home/user/Music
# Security settings
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
# ProtectHome=true
ReadWritePaths=/home/user/Music
[Install]
WantedBy=multi-user.target