summarylogtreecommitdiffstats
path: root/sheepit-client.install
diff options
context:
space:
mode:
authorGeoffrey Frogeye2016-05-29 19:44:44 +0200
committerGeoffrey Frogeye2016-05-29 19:44:44 +0200
commit39f3e46bbbb049bc839451224437f48e1747a727 (patch)
treeb0d505bafef63ae616efe7d5bbad167b353a669b /sheepit-client.install
downloadaur-39f3e46bbbb049bc839451224437f48e1747a727.tar.gz
Initial commit
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 00000000000..ef6ab2c0657
--- /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
+}