update mnml service file for syslog

This commit is contained in:
ntr 2019-11-13 12:11:35 +11:00
parent ddc75e6ff9
commit 784c5910a1
3 changed files with 7 additions and 5 deletions

View File

@ -216,7 +216,7 @@ function tutorialStage(tutorial, ws, clearTutorial, instance) {
};
const classes = tutorial === 8 ? 'focus' : '';
const text = tutorial === 8 ? 'Continue' : 'Close Tutorial'
const text = tutorial === 8 ? 'Continue' : 'Skip Tutorial'
const exitTutorial = <button
class={classes}
onClick={e => e.stopPropagation()}

View File

@ -1,12 +1,14 @@
[Unit]
Description=mnml game server
User=mnml
[Service]
User=mnml
ExecStart=/usr/local/mnml/bin/mnml
KillMode=process
Restart=on-failure
RestartPreventExitStatus=255
StandardOutput=null
StandardError=null
[Install]
WantedBy=multi-user.target

View File

@ -77,11 +77,11 @@ fn handle_notification(n: Notification, pool: &PgPool, events: &Sender<Event>) {
let msg = match n.action {
Action::Delete => {
warn!("unimplemented delete notification {:?}", n);
// warn!("unimplemented delete notification {:?}", n);
None
},
Action::Insert => {
warn!("unimplemented insert notification {:?}", n);
// warn!("unimplemented insert notification {:?}", n);
None
},
Action::Update => match n.table {
@ -92,7 +92,7 @@ fn handle_notification(n: Notification, pool: &PgPool, events: &Sender<Event>) {
Table::Games =>
Some(Event::Push(n.id, RpcMessage::GameState(game::game_get(&mut tx, n.id).unwrap()))),
_ => {
warn!("unimplemented update notification {:?}", n);
// warn!("unimplemented update notification {:?}", n);
None
},
},