parrillan add

main
Mel 3 years ago
parent f5627d5424
commit aa09cef3ed

@ -9,7 +9,7 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "London/202.md", "file": "Reading list/@Reading master.md",
"mode": "preview" "mode": "preview"
} }
} }
@ -68,7 +68,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "London/202.md", "file": "Reading list/@Reading master.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -108,15 +108,15 @@
}, },
"active": "c1cbd199334b4022", "active": "c1cbd199334b4022",
"lastOpenFiles": [ "lastOpenFiles": [
"London/202.md", "Reading list/@Reading master.md",
"London/Alto.md", "Networks/Domains.md",
"London/Androuet.md", "Networks/Configuring Monit.md",
"London/Ayllu.md", "Networks/Configuring Postfix.md",
"London/Balthazar.md", "Networks/Configuring Caddy.md",
"London/Bao Bun.md", "Networks/VPS Console Dialogue.md",
"London/Baranis.md", "Finances/Ledger.md",
"London/Bob Bob Ricard.md", "London/@Restaurants London.md",
"London/Bocca di Lupo.md", "London/Untitled.md",
"London/Café Phillies.md" "London/@@London.md"
] ]
} }

@ -0,0 +1,9 @@
2021/10/06 Parrillan
expenses:Restaurant:GBP £92.25
assets:Cash:GBP
2021/10/07 Tattoo
expenses:Lifestyle:GBP £250.00
assets:Cash:GBP

@ -172,6 +172,18 @@ sort file.name ascending
   
#### Argentine
```dataview
Table without id file.link as "Place", Place.SubType as "Cuisine", Phone, Email, Website from "London"
where DocType = "Place"
where contains(Place.Type, "Restaurant")
where contains(Place.Style, "Argentine")
sort file.name ascending
```
 
--- ---
   

@ -0,0 +1,90 @@
---
Tag: [""]
Date: 2021-10-06
DocType: "Place"
Hierarchy: "NonRoot"
TimeStamp:
location:
Place:
Type: Restaurant
SubType: Grill
Style: Argentine
Location: StPancras
Country: UK
Status: Tested
---
Parent:: [[@Restaurants London|Restaurants in London]]
---
 
```button
name Save
type command
action Save current file
id Save
```
^button-ParrillanSave
 
# Parrillan
 
```ad-abstract
title: Summary
collapse: open
Argentine meat restaurant with 'parrilla' brought on the table.
```
 
```toc
style: number
```
 
---
 
### Contact
 
```ad-address
~~~
Coal Drops Yard
Stable Street
London N1C 4AB
United Kingdom
~~~
```
 
Email:: reservations@parrillan.co.uk
Website:: https://www.parrillan.co.uk/
 
---
 
### Notes
 
Loret ipsum
 
 

@ -53,17 +53,17 @@ style: number
   
```ad-info ```ad-address
title: Alias server title: Alias server
http://emailalias.mfxm.fr:2812 http://emailalias.mfxm.fr:2812
``` ```
```ad-info ```ad-address
title: Cloud server title: Cloud server
http://cloud.mfxm.fr:2812 http://cloud.mfxm.fr:2812
``` ```
```ad-info ```ad-address
title: Tools server title: Tools server
http://monit-tools.mfxm.fr http://monit-tools.mfxm.fr
``` ```
@ -82,15 +82,27 @@ http://monit-tools.mfxm.fr
The program is within the **apt** library: The program is within the **apt** library:
`sudo apt-get install monit` ```ad-command
~~~
sudo apt-get install monit
~~~
```
Once installed, it needs to be enabled: Once installed, it needs to be enabled:
`sudo systemctl enable --now monit` ```ad-command
~~~
sudo systemctl enable --now monit
~~~
```
Check that the service is running appropriately: Check that the service is running appropriately:
`sudo systemctl status monit` ```ad-command
~~~
sudo systemctl status monit
~~~
```
Once set up, the next step is to enable the web interface. Once set up, the next step is to enable the web interface.
@ -100,20 +112,36 @@ Once set up, the next step is to enable the web interface.
The following configuration file need to be amended: The following configuration file need to be amended:
`/etc/monit/monitrc` ```ad-path
~~~
/etc/monit/monitrc
~~~
```
By unchecking the following: By unchecking the following:
>set httpd port 2812 ```ad-code
> allow admin:monit ~~~
set httpd port 2812
allow admin:monit
~~~
```
After making the change, monit needs to be restarted: After making the change, monit needs to be restarted:
`sudo systemctl restart monit` ```ad-command
~~~
sudo systemctl restart monit
~~~
```
And the corresponding port opened: And the corresponding port opened:
` sudo ufw allow 2812` ```ad-command
~~~
sudo ufw allow 2812
~~~
```
   
@ -121,17 +149,29 @@ And the corresponding port opened:
The following configuration file need to be amended: The following configuration file need to be amended:
`/etc/monit/monitrc` ```ad-path
~~~
/etc/monit/monitrc
~~~
```
By unchecking the following: By unchecking the following:
>set mailserver localhost ```ad-code
>set mail-format { from: monit@(localhost) } ~~~
>set alert (dest email address) set mailserver localhost
set mail-format { from: monit@(localhost)
set alert (dest email address)
~~~
```
After making the change, monit needs to be restarted: After making the change, monit needs to be restarted:
`sudo systemctl restart monit` ```ad-command
~~~
sudo systemctl restart monit
~~~
```
   

Loading…
Cancel
Save