[Unit] Description=phantasmobile cron After=phantasmobile-tasks.service [Service] Type=simple Restart=always User=phantasmobile Group=phantasmobile PIDFile=/run/phantasmobile/phantasmobile-cron.pid WorkingDirectory=/srv/phantasmobile ExecStart=/srv/phantasmobile/venv/bin/celery \ -A app beat -l info \ --scheduler django_celery_beat.schedulers:DatabaseScheduler \ --pidfile /run/phantasmobile/phantasmobile-cron.pid ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target