9 lines
394 B
Plaintext
9 lines
394 B
Plaintext
|
#!/bin/bash
|
|||
|
|
|||
|
id joplin-server &> /dev/null || useradd joplin-server -r -s /bin/false -md /var/lib/joplin-server
|
|||
|
## issue https://github.com/laurent22/joplin/issues/5980
|
|||
|
mkdir /usr/lib/joplin-server/server/temp/
|
|||
|
mkdir /usr/lib/joplin-server/server/logs/
|
|||
|
chown joplin-server:joplin-server /usr/lib/joplin-server/server/temp/
|
|||
|
chown joplin-server:joplin-server /usr/lib/joplin-server/server/logs/
|