dfd04df55b
This gives more relevant data to journal than logging in stdout. Also, pid file is no longer needed, since we're a Type=dbus service. The flat logging file is removed since it's not needed when we're logging into journal. We probably can remove the logrotate file too. The -u argument is moved into the service file as we can't really remove it without changing the service's Type.
14 lines
314 B
Desktop File
14 lines
314 B
Desktop File
[Unit]
|
|
Description=WPA Supplicant daemon
|
|
Before=network.target
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=fi.w1.wpa_supplicant1
|
|
EnvironmentFile=-/etc/sysconfig/wpa_supplicant
|
|
ExecStart=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|