You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change the path of the datadirectory from the default to the directory we created earlier since the default dir is for the docker setup
96
+
change the path of the datadirectory from the default to the directory we
97
+
created earlier since the default dir is for the docker setup
96
98
97
99
```shell
98
100
sed -i 's|dataPath: "/data/storage"|dataPath: "/opt/mod-bot/Draupnir/datastorage"|' /opt/mod-bot/Draupnir/config/production.yaml
99
101
```
100
102
101
-
edit the production config:
102
-
the most important things to configure are the `homeserverUrl:`, the `rawHomeserverUrl:`, the `accessToken:` and the `managementRoom:`
103
+
edit the production config: the most important things to configure are the
104
+
`homeserverUrl:`, the `rawHomeserverUrl:`, the `accessToken:` and the
105
+
`managementRoom:`
103
106
104
107
```shell
105
108
nano /opt/mod-bot/Draupnir/config/production.yaml
106
109
```
107
110
108
111
## Example systemd service
109
112
110
-
copy this to `/etc/systemd/system/draupnir.service` and enable with `systemctl enable draupnir`, then simply start with `systemctl start draupnir`
113
+
copy this to `/etc/systemd/system/draupnir.service` and enable with
114
+
`systemctl enable draupnir`, then simply start with `systemctl start draupnir`
111
115
112
116
:::tip
113
117
114
-
before you attempt to start the service, make sure that the management room for draupnir exists on your homeserver and is joinable by draupnir (either public room or invite the bot account in advance)
118
+
before you attempt to start the service, make sure that the management room for
119
+
draupnir exists on your homeserver and is joinable by draupnir (either public
120
+
room or invite the bot account in advance)
115
121
116
122
:::
117
123
@@ -157,7 +163,8 @@ WantedBy=multi-user.target
157
163
158
164
## Updating the bot
159
165
160
-
if you want to update && upgrade everything, use the draupnir useraccount in order to not create conflicts with filepermissions/ownerships
166
+
if you want to update && upgrade everything, use the draupnir useraccount in
167
+
order to not create conflicts with filepermissions/ownerships
0 commit comments