u2b.cx/u2b.cx.service

16 lines
367 B
INI

[Unit]
Description=u2b.cx youtube search resolver service thingy
After=network.target
[Service]
#youtubedl writes cache on disk so user should have home
User=u2b
Group=u2b
WorkingDirectory=/srv/u2b.cx/
Environment=ADDRESS=127.29.151.200 PORT=52482 PROXY=https://proxy.u2b.cx/
ExecStart=/usr/bin/python3.9 server.py
MemoryMax=1G
[Install]
WantedBy=multi-user.target