Skip to content
/ pwatchdog Public

A process watchdog application. It waits for a set of processes to end in order to shutdown the computer.

Notifications You must be signed in to change notification settings

dpsm/pwatchdog

Repository files navigation

PWATCHDOG - PROCESS WATCH DOG APPLICATION

THIS APPLICATION LISTENS FOR A SET OF PROCESSES
SO WHEN ALL PROCESSES HAVE ENDED EXECUTION IT KILLS
THE MACHINE. THIS APPLICATION HAS EMERGED FRO USERS
NEEDS TO SHUT DOWN THEIR COMPUTER AFTER A LONG PROCESS
EXECUTION AUTOMATICALY.

#### INSTALLATION ####

# WINDOWS
	1 - NA.

# UNIX
	1 - Add /etc/sudoers file the following line:
	<user> localhost=NOPASSWD: /sbin/shutdown
	Replace <user> by the pwatchdog program owner
	
	2 - Set user or group ID on execution:
	sudo chmod u+s /sbin/shutdown

About

A process watchdog application. It waits for a set of processes to end in order to shutdown the computer.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages