add setup script

This commit is contained in:
Adam Jeniski 2025-09-10 10:52:25 -09:00
parent 5aec9076b5
commit 78d5822544
2 changed files with 19 additions and 0 deletions

14
deploy-me.service Normal file
View File

@ -0,0 +1,14 @@
[Unit]
Description=ajet.fyi
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
ExecStart=/usr/bin/env sh /root/repos/deploy-me/start.sh
[Install]
WantedBy=multi-user.target

5
setup.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
cp deploy-me.service /etc/systemd/system
systemctl enable deploy-me
systemctl start deploy-me