Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
19 lines
337 B
Desktop File
19 lines
337 B
Desktop File
[Unit]
|
|
Description=Hamlet web console
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=core
|
|
Group=core
|
|
WorkingDirectory=/home/core
|
|
Environment=HAMLET_CONFIG=/home/core/apps/hamlet/config.json
|
|
ExecStart=/usr/local/bin/hamlet serve
|
|
Restart=always
|
|
RestartSec=3
|
|
KillMode=control-group
|
|
TimeoutStopSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|