18 lines
369 B
Desktop File
18 lines
369 B
Desktop File
[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.0.0.1 PORT=52482
|
|
ExecStart=/usr/bin/python3.11 server.py
|
|
MemoryMax=1G
|
|
LimitNOFILE=262144
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|