Skip to content

Commit

Permalink
Remove unneeded override prime in non-root-user
Browse files Browse the repository at this point in the history
  • Loading branch information
jardon committed Feb 13, 2023
1 parent 03d9ba0 commit 2a16629
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cmd:
- --regid
- mongodb
- --
- /usr/bin/mongod
- /snap/bin/charmed-mongodb.mongod
platforms: # The platforms this ROCK should be built on and run on
amd64:

Expand All @@ -38,5 +38,3 @@ parts:
# Create a user in the $CRAFT_OVERLAY chroot
groupadd -R $CRAFT_OVERLAY -g 1000 mongodb
useradd -R $CRAFT_OVERLAY -M -r -g mongodb -u 1000 mongodb
override-prime: |
craftctl default

0 comments on commit 2a16629

Please sign in to comment.