Changes

From Amahi Wiki
Jump to: navigation, search
find . -name .htaccess -exec mv {} {}.tmp \;
=== Service Feature Functions ===
* Check if service is active:
systemctl is-active service
echo Restarting appname service;
systemctl restart appname.service;
* Restart Service if 'active'
if [ `systemctl is-active appname.service` == "active" ]; then
echo Restarting appname.service...
systemctl restart appname.service
echo Done!
fi
* Change service run level, start, and stop priority:
:Edit the service, i.e. ''/etc/init.d/adito'' and change the parameters (Run level: 0-6, start priority: 1-99, and stop priority: 1-99).
12,424

edits