Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi, we are using Symfony app and it is deployed to the App Platform. One of the components that we are using is the Symfony Messenger. This component acts like a async worker on the background where it runs long running queries. One of the options to keep the worker running on the background is to use the systemd. Messenger: Sync & Queued Message Handling (Symfony Docs)
“Systemd user service configuration files typically live in a ~/.config/systemd/user directory. For example, you can create a new messenger-worker.service file. Or a messenger-worker@.service file if you want more instances running at the same time:”
[Unit]
Description=Symfony messenger-consume %i
[Service]
ExecStart=php /path/to/your/app/bin/console messenger:consume async --time-limit=3600
Restart=always
RestartSec=30
[Install]
WantedBy=default.target
I tried this using the App Platform console but unfortunately, I don’t have permission to do so and if I remember correctly, the next deployment resets everything back to default.
My question is, how can we create a systemd on the Digital App Platform?
a6309a057c3f4cb38fb2e7feb67236
KFSys
ef1ed44cc2154be3bcbb2d727878f8
Devs Neonetworks
1e6b823ea20d4cb189a34a922f5588
Telmo Valverde
erik-jan martens
Henry Mui
anthonycarreon
garantieheld
Marin