1
0
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:
David Paleino
2011-10-04 23:11:57 +02:00
parent c74a17f0a0
commit 6aa22de251
3 changed files with 19 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ sbin = '%SBIN%'
pmutils = '%PMUTILS%'
dbus = '%DBUS%'
dbus_service = '%DBUS_SERVICE%'
systemd = '%SYSTEMD%'
desktop = '%DESKTOP%'
backends= '%BACKENDS%'
daemon = '%DAEMON%'

15
other/wicd.service Normal file
View 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

View File

@@ -73,6 +73,7 @@ class configure(Command):
('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-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'),
('icons=', None, "set the base directory for the .desktop file's icons"),
('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.dbus = '/etc/dbus-1/system.d/'
self.dbus_service = '/usr/share/dbus-1/system-services/'
self.systemd = '/lib/systemd/system/'
self.desktop = '/usr/share/applications/'
self.translations = '/usr/share/locale/'
self.autostart = '/etc/xdg/autostart/'
@@ -498,6 +500,7 @@ try:
data = [
(wpath.dbus, ['other/wicd.conf']),
(wpath.dbus_service, ['other/org.wicd.daemon.service']),
(wpath.systemd, ['other/wicd.service']),
(wpath.log, [empty_file]),
(wpath.etc, ['other/dhclient.conf.template.default']),
(wpath.encryption, [('encryption/templates/' + b) for b in