Skip to content

Commit

Permalink
adds systemd service to run without docker
Browse files Browse the repository at this point in the history
  • Loading branch information
auyer committed Oct 13, 2023
1 parent df86946 commit 0ec8b80
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions systemd/memory_kv.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[Unit]
Description=MemoryKV server daemon github.com/auyer/MemoryKV

# You may want to start after your network is ready
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/usr/bin/kv
Restart=always
PIDFile=/tmp/memorykv_pid
Environment=PORT=80

[Install]
WantedBy=network-online.target

0 comments on commit 0ec8b80

Please sign in to comment.