adjust logs
This commit is contained in:
parent
0611645ef0
commit
4baf475e35
|
@ -22,6 +22,7 @@ $sudo_cmd systemctl daemon-reload
|
|||
$sudo_cmd systemctl start "${my_app_name}.service"
|
||||
$sudo_cmd systemctl enable "${my_app_name}.service"
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
echo "Fun systemd commands to remember:"
|
||||
echo " $sudo_cmd systemctl daemon-reload"
|
||||
|
@ -29,4 +30,6 @@ echo " $sudo_cmd systemctl restart $my_app_name.service"
|
|||
echo ""
|
||||
echo "$my_app_name started with systemctl, check its status like so:"
|
||||
echo " $sudo_cmd systemctl status $my_app_name"
|
||||
echo " $sudo_cmd journalctl -xe -u $my_app_name"
|
||||
echo " $sudo_cmd journalctl -xefu $my_app_name"
|
||||
echo ""
|
||||
echo ""
|
||||
|
|
|
@ -145,8 +145,7 @@ find $my_root/opt/$my_name -type d -exec $sudo_cmd chmod ug+s {} \;
|
|||
echo ""
|
||||
echo "$my_name installation complete!"
|
||||
echo ""
|
||||
echo "Restart: systemctl restart $my_name"
|
||||
echo "Logs: journalctl -xefu $my_name"
|
||||
echo "Config: /etc/$my_name/$my_name.yml"
|
||||
echo ""
|
||||
echo "Update the config at: /etc/$my_name/$my_name.yml"
|
||||
echo ""
|
||||
echo "Unistall: rm -rf /srv/$my_name/ /var/$my_name/ /etc/$my_name/ /opt/$my_name/ /var/log/$my_name/ /etc/tmpfiles.d/$my_name.service /etc/systemd/system/$my_name.service /etc/ssl/$my_name"
|
||||
|
|
Loading…
Reference in New Issue