Switched systemd unit type to dbus for startup detection

This commit is contained in:
PM Kuipers 2023-01-27 13:51:03 +01:00
parent 42f213ff7a
commit 07855a39be
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
Description=Start Mediaserver Description=Start Mediaserver
[Service] [Service]
Type=dbus
BusName=nl.miqra.MediaCore.Media
Environment="HOME=/tmp" Environment="HOME=/tmp"
ExecStart=/usr/bin/startx /usr/sbin/mediaserver ExecStart=/usr/bin/startx /usr/sbin/mediaserver
Restart=always Restart=always

View File

@ -19,7 +19,7 @@ if version < '2.2.3':
if __name__ == '__main__': if __name__ == '__main__':
setup( setup(
name = 'mediaserver', name = 'mediaserver',
version = "4.1.2", version = "4.1.3",
description = 'Mediacore mediaserver', description = 'Mediacore mediaserver',
long_description = __doc__, long_description = __doc__,
author = 'Miqra Engineering', author = 'Miqra Engineering',