Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[💡 FEATURE REQUEST]: Add the ability to configure the user and group per Service #1570

Closed
Kaspiman opened this issue May 22, 2023 · 1 comment · Fixed by roadrunner-server/service#46
Assignees
Labels
C-feature-accepted Category: Feature discussed and accepted
Milestone

Comments

@Kaspiman
Copy link
Sponsor

Kaspiman commented May 22, 2023

Plugin

Service

I have an idea!

Server plugin already has user/group ability, let's add it to Service!

version: "3"

server:
    command: "php public/index.php"
    relay: pipes
    env:
        -   APP_RUNTIME: Baldinof\RoadRunnerBundle\Runtime\Runtime
    user: www-data
    group: www-data

service:
    schedule:run:
        command: "bin/console schedule:run"
        process_num: 1
        exec_timeout: 0s
        remain_after_exit: true
        service_name_in_log: false
        restart_sec: 60
        # user: www-data
        # group: www-data
@Kaspiman Kaspiman added the C-feature-request Category: feature requested, but need to be discussed label May 22, 2023
@rustatian rustatian added C-feature-accepted Category: Feature discussed and accepted and removed C-feature-request Category: feature requested, but need to be discussed labels May 22, 2023
@rustatian rustatian added this to the v2023.3.0 milestone May 22, 2023
@rustatian
Copy link
Member

Hey @embargo2710 👋🏻
Yeah, fair, agreed 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-accepted Category: Feature discussed and accepted
Projects
No open projects
Status: Unreleased
Development

Successfully merging a pull request may close this issue.

2 participants