-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path0xeemini.service
More file actions
30 lines (27 loc) · 1.15 KB
/
0xeemini.service
File metadata and controls
30 lines (27 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# ─────────────────────────────────────────────────────
# 0xeeMini v0.1.0 — systemd user service
# https://mini.0xee.li
# ─────────────────────────────────────────────────────
# Activation (sur le VPS, en tant que debian) :
#
# mkdir -p ~/.config/systemd/user/
# cp 0xeemini.service ~/.config/systemd/user/
# systemctl --user daemon-reload
# systemctl --user enable --now 0xeemini.service
# loginctl enable-linger debian
#
# ─────────────────────────────────────────────────────
[Unit]
Description=0xeeMini Autonomous Agent — https://mini.0xee.li
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=/home/debian/0xeeMini
ExecStart=/home/debian/0xeeMini/.venv/bin/python /home/debian/0xeeMini/run.py
Restart=on-failure
RestartSec=10s
PrivateTmp=true
NoNewPrivileges=true
[Install]
WantedBy=default.target