Skip to content

Commit d058edc

Browse files
Running as web user instead of root
1 parent f68c449 commit d058edc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

systemd_units/service

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Description=GitHub Documentation Previewer Service
33

44
[Service]
55
ExecStart=/usr/bin/doc-previewer
6+
User=web
7+
Group=web
68
StandardOutput=journal
79
StandardError=journal
810

0 commit comments

Comments
 (0)