mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-22 12:35:40 +00:00
10 lines
196 B
Plaintext
10 lines
196 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
cd /pagermaid/workdir
|
|
if [[ $RUN_AS_ROOT != true ]]; then
|
|
exec s6-setuidgid pagermaid python -m pagermaid
|
|
else
|
|
exec s6-setuidgid root python -m pagermaid
|
|
fi
|
|
|