ttvdrops/tools/systemd/ttvdrops-import-kick-drops.service
Joakim Helleśen 4fb13b27fd
All checks were successful
Deploy to Server / deploy (push) Successful in 12s
Add SupplementaryGroups and UMask settings to systemd service files
2026-03-16 23:14:36 +01:00

26 lines
519 B
Desktop File

[Unit]
Description=TTVDrops import Kick drops
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
User=ttvdrops
Group=ttvdrops
SupplementaryGroups=http
UMask=0002
WorkingDirectory=/home/ttvdrops/ttvdrops
EnvironmentFile=/home/ttvdrops/ttvdrops/.env
ExecStart=/usr/bin/uv run python manage.py import_kick_drops
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=ttvdrops-import-kick
# Resource limits
MemoryLimit=512M
CPUQuota=50%
[Install]
WantedBy=multi-user.target