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

10 lines
265 B
Bash
Raw Normal View History

2024-10-26 13:44:13 +02:00
#!/bin/sh
2024-10-26 15:48:40 +02:00
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
2024-10-26 13:44:13 +02:00
useradd --no-create-home wkd
2024-10-26 15:48:40 +02:00
chown -R wkd:wkd /srv/wkd