-
Hi, Here is how I set up my <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.app.shiori</string>
<key>ProgramArguments</key>
<array>
<string>/Users/[USERNAME]/shiori</string>
<string>server</string>
<string>--storage-directory</string>
<string>/Users/[USERNAME]/shiori/</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist> I have set the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Can you set SHIORI_HTTP_SECRET_KEY with export and test if it work correctly? export SHIORI_HTTP_SECRET_KEY=something
./shiori server |
Beta Was this translation helpful? Give feedback.
-
I found a way by using After the first login (and saving info) to Shiori in the browser, the login state persists even after computer restarts. I think it would be helpful to add this to the Shiori doc for other Mac users. <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.app.shiori</string>
<key>EnvironmentVariables</key>
<dict>
<key>SHIORI_HTTP_SECRET_KEY</key>
<string>somerandomvalue123489</string>
</dict>
<key>ProgramArguments</key>
<array>
<string>/Users/[USERNAME]/shiori</string>
<string>server</string>
<string>--storage-directory</string>
<string>/Users/[USENAME]/shiori/</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceDescription</key>
<string>Shiori Bookmarking Service</string>
</dict>
</plist> reference: https://launchd.info/ |
Beta Was this translation helpful? Give feedback.
I found a way by using
EnvironmentVariables
key in the.plist
file.After the first login (and saving info) to Shiori in the browser, the login state persists even after computer restarts.
I think it would be helpful to add this to the Shiori doc for other Mac users.