diff options
| author | Paul Buetow <paul@buetow.org> | 2023-09-03 13:13:58 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-09-03 13:13:58 +0300 |
| commit | 3bc62a6ad2a43875052e53666c4bfa2b1b89298b (patch) | |
| tree | 29e353d32117dcee2d2c25c5c6c7df441d6b19a7 | |
| parent | 3921ba5f88351491e10c8e8b86954e6c1d3a215b (diff) | |
add dir setup to rc.local for OpenBSD
| -rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -62,6 +62,9 @@ doas usermod -d /var/run/gogios _gogios doas mkdir -p /var/run/gogios doas chown _gogios:_gogios /var/run/gogios doas chmod 750 /var/run/gogios +echo if [ ! -d /var/run/gogios ]; then mkdir -p /var/run/gogios; fi | doas tee -a /etc/rc.local +echo chown _gogios:_gogios /var/run/gogios | doas tee -a /etc/rc.local +echo chmod 750 /var/run/gogios | doas tee -a /etc/rc.local ``` Please note that creating a user and group might differ depending on your operating system. For other operating systems, consult their documentation for creating system users and groups. |
