From 4a7a619cb71bcaef14a02a9f8ffa3e86ec74940e Mon Sep 17 00:00:00 2001 From: null pointer exception <57326449+deathgrippin@users.noreply.github.com> Date: Sun, 19 Apr 2020 19:54:19 +0000 Subject: [PATCH] Add code block for commands and packages --- user/managing-os/debian/debian.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/user/managing-os/debian/debian.md b/user/managing-os/debian/debian.md index d1093062..236c2d8e 100644 --- a/user/managing-os/debian/debian.md +++ b/user/managing-os/debian/debian.md @@ -73,14 +73,14 @@ So be very careful when installing software in Templates - if the daemon spawns In general, a reasonable approach would be, (using ssh as example): - Install the ssh service. -- systemctl stop ssh -- systemctl disable ssh -- systemctl mask ssh +- `systemctl stop ssh` +- `systemctl disable ssh` +- `systemctl mask ssh` - Close down template Now the ssh service will **NOT** start in qubes based on this template. -Where you **DO** want the service to run, put this in /rw/config/rc.local: +Where you **DO** want the service to run, put this in `/rw/config/rc.local`: systemctl unmask ssh systemctl start ssh @@ -90,11 +90,11 @@ Don't forget to make the file executable. ### Unattended Upgrades -Some users have noticed that on upgrading to Stretch, the unattended-upgrade package is installed. +Some users have noticed that on upgrading to Stretch, the `unattended-upgrade` package is installed. This package is pulled in as part of a Recommend chain, and can be purged. -The lesson is that you should carefully look at what is being installed to your system, particularly if you run dist-upgrade. +The lesson is that you should carefully look at what is being installed to your system, particularly if you run `dist-upgrade`. ### Package installation errors in Qubes 4.0