summarylogtreecommitdiffstats
path: root/sheepit-client.install
diff options
context:
space:
mode:
Diffstat (limited to 'sheepit-client.install')
-rw-r--r--sheepit-client.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/sheepit-client.install b/sheepit-client.install
new file mode 100644
index 000000000000..ef6ab2c0657d
--- /dev/null
+++ b/sheepit-client.install
@@ -0,0 +1,4 @@
+post_install() {
+ systemd-sysusers sheepit-client.conf
+ [[ -d /var/lib/sheepit-client ]] || install -dm 700 -o sheepit-client -g sheepit-client /var/lib/sheepit-client
+}