upload to github
This commit is contained in:
commit
ae9ca74ac6
23 changed files with 2133 additions and 0 deletions
24
beat-harvester.service
Normal file
24
beat-harvester.service
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue