Skip to content

Commit dfb0607

Browse files
committed
Add note on setting user to show were to set value
1 parent df719ba commit dfb0607

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

content/debian/services.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ After=network.target
4848
4949
[Service]
5050
ExecStart=/bin/bash -c '/usr/bin/my_awesome_program >> /home/user/out.txt 2>&1'
51+
User=[Only allowed when running as root to set the user to use instead of root (see note above)]
5152
Environment="VAR1=word1 word2" VAR2=word3 "VAR3=$word 5 6"
5253
Type=simple
5354
Restart=always

0 commit comments

Comments
 (0)