[Unit] Description=API Server Scheduler (crontab) After=network.target redis.service Wants=redis.service [Service] Type=simple WorkingDirectory=/root ExecStart=/root/scheduler Restart=always RestartSec=5 LimitNOFILE=65536 KillSignal=SIGTERM TimeoutStopSec=15 EnvironmentFile=-/root/.env StandardOutput=append:/root/logs/scheduler.out StandardError=append:/root/logs/scheduler.out [Install] WantedBy=multi-user.target