restart on failure

This commit is contained in:
Mario Fetka 2024-04-13 08:09:46 +02:00
parent 1951cb234e
commit 501bd8c536
8 changed files with 230 additions and 0 deletions

1
.obsidian/app.json vendored Normal file
View File

@ -0,0 +1 @@
{}

3
.obsidian/appearance.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"accentColor": ""
}

31
.obsidian/core-plugins-migration.json vendored Normal file
View File

@ -0,0 +1,31 @@
{
"file-explorer": true,
"global-search": true,
"switcher": true,
"graph": true,
"backlink": true,
"canvas": true,
"outgoing-link": true,
"tag-pane": true,
"page-preview": true,
"daily-notes": true,
"templates": true,
"note-composer": true,
"command-palette": true,
"slash-command": false,
"editor-status": true,
"starred": true,
"markdown-importer": false,
"zk-prefixer": false,
"random-note": false,
"outline": true,
"word-count": true,
"slides": false,
"audio-recorder": false,
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": false,
"properties": false,
"bookmarks": true
}

20
.obsidian/core-plugins.json vendored Normal file
View File

@ -0,0 +1,20 @@
[
"file-explorer",
"global-search",
"switcher",
"graph",
"backlink",
"canvas",
"outgoing-link",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"editor-status",
"bookmarks",
"outline",
"word-count",
"file-recovery"
]

1
.obsidian/hotkeys.json vendored Normal file
View File

@ -0,0 +1 @@
{}

170
.obsidian/workspace.json vendored Normal file
View File

@ -0,0 +1,170 @@
{
"main": {
"id": "17cde28fab66c87f",
"type": "split",
"children": [
{
"id": "cca8cc582013ce94",
"type": "tabs",
"children": [
{
"id": "7c89090a423709b4",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "README.md",
"mode": "source",
"source": false
}
}
},
{
"id": "93abee57b5fbd6a7",
"type": "leaf",
"state": {
"type": "release-notes",
"state": {
"currentVersion": "1.5.3"
}
}
}
],
"currentTab": 1
}
],
"direction": "vertical"
},
"left": {
"id": "7a82d644b4711795",
"type": "split",
"children": [
{
"id": "9cee09ff848ef6ba",
"type": "tabs",
"children": [
{
"id": "715f0e040378f1ac",
"type": "leaf",
"state": {
"type": "file-explorer",
"state": {
"sortOrder": "alphabetical"
}
}
},
{
"id": "961824ed9c689507",
"type": "leaf",
"state": {
"type": "search",
"state": {
"query": "",
"matchingCase": false,
"explainSearch": false,
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical"
}
}
},
{
"id": "17a5c915787d9f07",
"type": "leaf",
"state": {
"type": "starred",
"state": {}
}
},
{
"id": "0e20b5869f534100",
"type": "leaf",
"state": {
"type": "bookmarks",
"state": {}
}
}
]
}
],
"direction": "horizontal",
"width": 300
},
"right": {
"id": "4bc83974e8361022",
"type": "split",
"children": [
{
"id": "704bba25239e510c",
"type": "tabs",
"children": [
{
"id": "b7b0f6e77df465a8",
"type": "leaf",
"state": {
"type": "backlink",
"state": {
"file": "README.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
"showSearch": false,
"searchQuery": "",
"backlinkCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "7ed13f94aa65e08c",
"type": "leaf",
"state": {
"type": "outgoing-link",
"state": {
"file": "README.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "89efabef52db96f6",
"type": "leaf",
"state": {
"type": "tag",
"state": {
"sortOrder": "frequency",
"useHierarchy": true
}
}
},
{
"id": "0fa820320e0b99da",
"type": "leaf",
"state": {
"type": "outline",
"state": {
"file": "README.md"
}
}
}
]
}
],
"direction": "horizontal",
"width": 300,
"collapsed": true
},
"left-ribbon": {
"hiddenItems": {
"canvas:Neuen Canvas erstellen": false,
"switcher:Schnellauswahl öffnen": false,
"graph:Graphen-Ansicht öffnen": false,
"daily-notes:Heutige Notiz öffnen": false,
"templates:Vorlage einfügen": false,
"command-palette:Befehlspalette öffnen": false
}
},
"active": "93abee57b5fbd6a7",
"lastOpenFiles": []
}

View File

@ -22,6 +22,8 @@ After=network-online.target
#Requires=mis.socket
[Service]
Restart=on-failure
RestartSec=5s
AmbientCapabilities=CAP_NET_BIND_SERVICE
Type=forking
# The mis daemon needs to start as root as discussed above, or will fail to bind TCP ports.

View File

@ -20,6 +20,8 @@ After=systemd-user-sessions.service
After=network-online.target
[Service]
Restart=on-failure
RestartSec=5s
Type=forking
# Be sure to set 'User' below to the user who owns your mystic directory.
User=mystic