Skip to content

Commit

Permalink
add make-automaps.service
Browse files Browse the repository at this point in the history
service to create scratch maps, if they do not exist
  • Loading branch information
david committed Oct 26, 2023
1 parent 1a025c8 commit 1d9f19a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions make-automaps/make-automaps.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
DefaultDependencies=no
After=systemd-remount-fs.service
ConditionPathExists=!/etc/automount/auto.scratch

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/make-automaps

[Install]
WantedBy=basic.target

0 comments on commit 1d9f19a

Please sign in to comment.