Skip to content

Commit 0365115

Browse files
committed
Redirect all bottle logs to journalctl/syslog
1 parent 11e47d7 commit 0365115

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

sysdweb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Distributed under terms of the GNU GPLv3 license.
77

88
NAME = 'sysdweb'
9-
VERSION = '1.3.0'
9+
VERSION = '1.3.1'
1010
AUTHOR_NAME = 'Óscar García Amor'
1111
AUTHOR_EMAIL = 'ogarcia@connectical.com'
1212
DESCRIPTION = 'Control systemd services through Web or REST API'

systemd/sysdweb-system.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ After=network.target
55
Requires=dbus.socket
66

77
[Service]
8+
Environment=PYTHONUNBUFFERED=TRUE
89
ExecStart=/usr/bin/sysdweb
910
Restart=on-failure
1011

systemd/sysdweb-user.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ After=network.target
55
Requires=dbus.socket
66

77
[Service]
8+
Environment=PYTHONUNBUFFERED=TRUE
89
ExecStart=/usr/bin/sysdweb
910
Restart=on-failure
1011

0 commit comments

Comments
 (0)