Skip to content

Instantly share code, notes, and snippets.

@zvg
Last active July 23, 2020 06:05
Show Gist options
  • Save zvg/2560792d3b810db3ca6202861b4073f6 to your computer and use it in GitHub Desktop.
Save zvg/2560792d3b810db3ca6202861b4073f6 to your computer and use it in GitHub Desktop.
[Unit]
Description=realm
After=network-online.target
Wants=network-online.target systemd-networkd-wait-online.service
[Service]
Type=simple
User=root
Restart=on-failure
RestartSec=5s
DynamicUser=true
ExecStart=/usr/local/bin/realm -l :1100 -r 127.0.0.1:1100
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment