Skip to content

Instantly share code, notes, and snippets.

@mariodian
Created September 2, 2020 07:51
Show Gist options
  • Save mariodian/c33dd42ece6bc83cce4a2f205292ee4a to your computer and use it in GitHub Desktop.
Save mariodian/c33dd42ece6bc83cce4a2f205292ee4a to your computer and use it in GitHub Desktop.
Umbrel Middleware systemd
[Unit]
Description=Umbrel Middleware
Requires=lnd.service
Wants=umbrel-manager.service
After=umbrel-manager.service
[Service]
WorkingDirectory=/home/satoshi/source/umbrel/umbrel-middleware
ExecStart=/usr/bin/yarn start
PIDFile=/home/satoshi/.umbrel/umbrel-middleware.pid
User=satoshi
Group=satoshi
Type=simple
KillMode=control-group
TimeoutStartSec=60
TimeoutStopSec=60
Restart=always
RestartSec=60
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment