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

9 lines
239 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
2024-10-26 22:05:15 +02:00
#cp example.config.toml /srv/wkd/config.toml
2024-10-26 15:48:40 +02:00
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