Init and Systemd

This page covers service lifecycle operations for Netify Agent on common init systems, including start/stop, reload/status checks, and boot-time enablement.

Interacting with the agent may require root privileges. Use sudo or switch to the root user account for any of the commands listed below.


Starting and Stopping the Agent

As with any service, stopping, starting, and restarting the Netify agent depends heavily on the OS it is running on.

Linux Distros using SystemV

Terminal - Netify
×
service stop netifyd
service start netifyd

Linux Distros using Systemd

Terminal - Netify
×
systemctl stop netifyd
systemctl start netifyd

OpenWRT

Terminal - Netify
×
/etc/init.d/netifyd stop
/etc/init.d/netifyd start

LXC Containers

Terminal - Netify
×
/etc/init.d/netifyd stop
/etc/init.d/netifyd start

FreeBSD, pfSense, OPNsense

Terminal - Netify
×
/usr/local/etc/bin/onestop netifyd
/usr/local/etc/bin/onestart netifyd

Reloading and Status Report

Linux Distros using SystemV

Terminal - Netify
×
service reload netifyd
service status netifyd

Linux Distros using Systemd

Terminal - Netify
×
systemctl reload netifyd
systemctl status netifyd

OpenWRT

Terminal - Netify
×
/etc/init.d/netifyd reload
/etc/init.d/netifyd status

LXC Containers

Terminal - Netify
×
/etc/init.d/netifyd reload
/etc/init.d/netifyd status

FreeBSD, pfSense, OPNsense

Terminal - Netify
×
/usr/local/etc/bin/reload netifyd
/usr/local/etc/bin/status netifyd

Enabling On Boot

To modify the on-boot configuration of the Netify DPI agent, use the appropriate syntax - the first command will enable the agent to start on boot while the second will disable it.

Linux Distros using SystemV

Terminal - Netify
×
service enable netifyd
service disable netifyd

Linux Distros using Systemd

Terminal - Netify
×
systemctl enable netifyd
systemctl disable netifyd

OpenWRT

Terminal - Netify
×
/etc/init.d/netifyd enable
/etc/init.d/netifyd disable

LXC Containers

Terminal - Netify
×
/etc/init.d/netifyd enable
/etc/init.d/netifyd disable

FreeBSD, pfSense, OPNsense

Terminal - Netify
×
sysrc -f /etc/rc.conf.local netifyd_enable="YES"
sysrc -f /etc/rc.conf.local netifyd_enable="NO"