mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-03 04:57:38 +03:00
Make launchd service for macOS
This commit is contained in:
parent
2815dc5209
commit
b39db0fcd4
2 changed files with 27 additions and 0 deletions
|
@ -286,6 +286,14 @@ guarantee nginx waits for this service to start. Edit
|
|||
Before=nginx.service
|
||||
```
|
||||
|
||||
## launchd
|
||||
|
||||
If you are on macOS, you can use the launchd service available in `contrib/libreddit.plist`.
|
||||
|
||||
Install it with `cp contrib/libreddit.plist ~/Library/LaunchAgents/`.
|
||||
|
||||
Load and start it with `launchctl load ~/Library/LaunchAgents/libreddit.plist`.
|
||||
|
||||
## Building
|
||||
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue