Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2014-10-22 06:52:14
Size: 246
Editor: SamatJain
Comment:
Revision 4 as of 2024-08-07 19:07:12
Size: 581
Editor: SamatJain
Comment: systemd-analyze security
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
sudo loginctl enable-linger xjjk sudo loginctl enable-linger ${USER}
Line 11: Line 11:

== Security audit ==

{{{#!highlight sh
systemd-analyze security ${SERVICE_NAME}
}}}

== External links ==

 * [[https://blog.jreinert.com/blog/2014/11/17/schedule-automatic-backups-with-systemd/|Schedule Automatic Backups With Systemd - Digital Adventures]]: Start a systemd job as soon as a device becomes available.

User sessions

   1 mkdir -p ~/.config/systemd/user/
   2 
   3 systemctl --user enable $PATH_TO_SERVICE_FILE
   4 
   5 # Let user services start w/out user having to login
   6 sudo loginctl enable-linger ${USER}

Security audit

   1 systemd-analyze security ${SERVICE_NAME}


CategoryCheatSheet

SamatsWiki: CheatSheet/systemd (last edited 2024-08-07 19:07:12 by SamatJain)