[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where to look in logs





On Tue, Oct 1, 2019 at 12:47 PM Greg Wooledge <wooledg@eeg.ccf.org> wrote:
On Tue, Oct 01, 2019 at 12:34:27PM -0400, yoda woya wrote:
> How do I  " Showing the entire udhcpd.service" ?

systemctl cat udhcpd.service    would be one way.

Or you could locate the file that you created, which is supposed to be
in /etc/systemd/system/, and cat it.  If on the other hand you did not
write the unit file yourself, but rather installed some sort of package,
then you would ask your package manager where it is.  Perhaps it's in
/lib/systemd/system/.

This what I get 

# /run/systemd/generator.late/udhcpd.service
# Automatically generated by systemd-sysv-generator

[Unit]
Documentation=man:systemd-sysv-generator(8)
SourcePath=/etc/init.d/udhcpd
Description=LSB: Start busybox udhcpd at boot time
Before=multi-user.target
Before=multi-user.target
Before=multi-user.target
Before=graphical.target
After=remote-fs.target

[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
SuccessExitStatus=5 6
ExecStart=/etc/init.d/udhcpd start
ExecStop=/etc/init.d/udhcpd stop
root@nat6pub:/home/erwin#
 

Reply to: