M init/dbns.service => init/dbns.service +3 -3
@@ 6,10 6,10 @@ Documentation=https://www.capsulecorp.org
ExecStart=/usr/local/bin/dbnsd -p 4000
ExecReload=/bin/kill -HUP $MAINPID
LimitNOFILE=65536
-User=dbnsd
-Group=dbnsd
+User=dbns
+Group=dbns
Restart=always
RestartSec=3
[Install]
-WantedBy=multi-user.target>
\ No newline at end of file
+WantedBy=multi-user.target
M src/Makefile => src/Makefile +1 -1
@@ 43,7 43,7 @@ dbns: ${O_FILES}
install:
@make dbns
- install -m 755 -g wheel -o root dbnsd ${PREFIX}/dbnsd
+ sudo install -m 755 -g wheel -o root dbnsd ${PREFIX}/dbnsd
init:
sudo systemctl enable ../init/dbns.service
M src/mud.h => src/mud.h +1 -1
@@ 5185,7 5185,7 @@ DECLARE_SPELL_FUN(spell_sensu_bean);
* so players can go ahead and telnet to all the other descriptors.
* Then we close it whenever we need to open a file (e.g. a save file).
*/
-#define PREFIX_DIR "/opt/dbns" /* prefix where the information is
+#define PREFIX_DIR "/opt/dbns/db" /* prefix where the information is
* stored and installed to */
#define PLAYER_DIR PREFIX_DIR "/player/" /* Player files */
#define BACKUP_DIR PREFIX_DIR "/player/backup/" /* Backup Player files */