Skip to content

initsvc.1

Manvendra Bhangui edited this page Feb 25, 2024 · 3 revisions

NAME

initsvc - Enable / Disable IndiMail services

SYNOPSYS

initsvc [options]

DESCRIPTION

The initsvc command installs all indimail services to be automatically started up on system startup. Depending on the OS, initsvc installs svscan(8) to be started up by init(8) (entry in /etc/inittab), upstart(8) (job definition in /etc/init/svscan.conf) or systemd(1) (job definition in /lib/systemd/system/svscan.service). initsvc needs to be run by the root user.

OPTIONS

-on
Enables all services to be started automatically on boot or reboot

-off
Disables all services to be started automatically on boot or reboot

-status
Displays the status of svscan service

-print
Displays the entry for svscan in /etc/inittab, /etc/event.d or /lib/systemd/system

RETURN VALUE

0 in case of success, 1 in case of any failure.

SEE ALSO

init(8) initctl(8) svscan(8), supervise(8), indimail(7),

Clone this wiki locally