22 lines
458 B
Promela
22 lines
458 B
Promela
? <chat-history ?history> [
|
|
|
|
; <require-service <daemon simplex_history_actor>>
|
|
|
|
? <built simplex_history_actor ?path ?sum> [
|
|
<daemon simplex_history_actor {
|
|
argv: [ $path ]
|
|
protocol: application/syndicate
|
|
env: {
|
|
BUILD_HASH: $sum
|
|
}
|
|
}>
|
|
]
|
|
|
|
? <service-object <daemon simplex_history_actor> ?cap> [
|
|
$cap {
|
|
dataspace: $history
|
|
database: "/home/emery/.simplex/simplex_v1_chat.db"
|
|
}
|
|
]
|
|
]
|