mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 12:28:08 +01:00
add systemd unit file for wicd-daemon, thanks to David Cantrell
This commit is contained in:
@@ -43,6 +43,7 @@ sbin = '%SBIN%'
|
|||||||
pmutils = '%PMUTILS%'
|
pmutils = '%PMUTILS%'
|
||||||
dbus = '%DBUS%'
|
dbus = '%DBUS%'
|
||||||
dbus_service = '%DBUS_SERVICE%'
|
dbus_service = '%DBUS_SERVICE%'
|
||||||
|
systemd = '%SYSTEMD%'
|
||||||
desktop = '%DESKTOP%'
|
desktop = '%DESKTOP%'
|
||||||
backends= '%BACKENDS%'
|
backends= '%BACKENDS%'
|
||||||
daemon = '%DAEMON%'
|
daemon = '%DAEMON%'
|
||||||
|
|||||||
15
other/wicd.service
Normal file
15
other/wicd.service
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Wicd a wireless and wired network manager for Linux
|
||||||
|
After=syslog.target
|
||||||
|
Wants=network.target
|
||||||
|
Before=network.target
|
||||||
|
Conflicts=NetworkManager.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=dbus
|
||||||
|
BusName=org.wicd.daemon
|
||||||
|
ExecStart=/usr/sbin/wicd --no-daemon
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
Alias=dbus-org.wicd.daemon.service
|
||||||
3
setup.py
3
setup.py
@@ -73,6 +73,7 @@ class configure(Command):
|
|||||||
('pmutils=', None, 'set the directory the pm-utils hooks are stored in'),
|
('pmutils=', None, 'set the directory the pm-utils hooks are stored in'),
|
||||||
('dbus=', None, 'set the directory the dbus config file is stored in'),
|
('dbus=', None, 'set the directory the dbus config file is stored in'),
|
||||||
('dbus-service=', None, 'set the directory where the dbus services config files are stored in'),
|
('dbus-service=', None, 'set the directory where the dbus services config files are stored in'),
|
||||||
|
('systemd=', None, 'set the directory where the systemd system services config files are stored in'),
|
||||||
('desktop=', None, 'set the directory the .desktop file is stored in'),
|
('desktop=', None, 'set the directory the .desktop file is stored in'),
|
||||||
('icons=', None, "set the base directory for the .desktop file's icons"),
|
('icons=', None, "set the base directory for the .desktop file's icons"),
|
||||||
('translations=', None, 'set the directory translations are stored in'),
|
('translations=', None, 'set the directory translations are stored in'),
|
||||||
@@ -134,6 +135,7 @@ class configure(Command):
|
|||||||
self.pmutils = '/usr/lib/pm-utils/sleep.d/'
|
self.pmutils = '/usr/lib/pm-utils/sleep.d/'
|
||||||
self.dbus = '/etc/dbus-1/system.d/'
|
self.dbus = '/etc/dbus-1/system.d/'
|
||||||
self.dbus_service = '/usr/share/dbus-1/system-services/'
|
self.dbus_service = '/usr/share/dbus-1/system-services/'
|
||||||
|
self.systemd = '/lib/systemd/system/'
|
||||||
self.desktop = '/usr/share/applications/'
|
self.desktop = '/usr/share/applications/'
|
||||||
self.translations = '/usr/share/locale/'
|
self.translations = '/usr/share/locale/'
|
||||||
self.autostart = '/etc/xdg/autostart/'
|
self.autostart = '/etc/xdg/autostart/'
|
||||||
@@ -498,6 +500,7 @@ try:
|
|||||||
data = [
|
data = [
|
||||||
(wpath.dbus, ['other/wicd.conf']),
|
(wpath.dbus, ['other/wicd.conf']),
|
||||||
(wpath.dbus_service, ['other/org.wicd.daemon.service']),
|
(wpath.dbus_service, ['other/org.wicd.daemon.service']),
|
||||||
|
(wpath.systemd, ['other/wicd.service']),
|
||||||
(wpath.log, [empty_file]),
|
(wpath.log, [empty_file]),
|
||||||
(wpath.etc, ['other/dhclient.conf.template.default']),
|
(wpath.etc, ['other/dhclient.conf.template.default']),
|
||||||
(wpath.encryption, [('encryption/templates/' + b) for b in
|
(wpath.encryption, [('encryption/templates/' + b) for b in
|
||||||
|
|||||||
Reference in New Issue
Block a user