0
0
Fork 0
mirror of https://git.verdigado.com/NB-Public/simple-wkd.git synced 2024-10-30 01:25:53 +01:00
simple-wkd/package-debian.sh

9 lines
265 B
Bash

#!/bin/sh
mkdir /srv/wkd
#cp entrypoint.sh /srv/wkd
cp example.config.toml /srv/wkd/config.toml
cp -R assets /srv/wkd/assets
cp simple-wkd-executable /srv/wkd/wkd
cp wkd.service /etc/systemd/system/wkd.service
useradd --no-create-home wkd
chown -R wkd:wkd /srv/wkd