Files
semif-agent/scripts/systemd/semif-simplex.service.in
T
Denton Social 5df560a922 bootstrap: put simplex profile under .runtime/simplex/, apply changed units
-d is a path prefix, so pass .runtime/simplex/simplex_v1 to keep the daemon
DBs inside the profile dir. Also detect a changed rendered unit and restart
already-running services so a rerun applies template changes.
2026-09-26 17:27:47 -05:00

17 lines
423 B
Plaintext

[Unit]
Description=SemIf agent SimpleX Chat daemon
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=@REPO@/.runtime/bin/simplex-chat -p @PORT@ -d @REPO@/.runtime/simplex/simplex_v1 -k "" --relay --headless --user-display-name "@DISPLAY_NAME@"
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
SyslogIdentifier=semif-simplex
[Install]
WantedBy=default.target