Skip to content

Commit

Permalink
EXAMPLES: Add examples directory. Initially containing systemd example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cian911 committed Dec 15, 2021
1 parent 87ebc6c commit e26c2ee
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/systemd/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Running Switchboard with systemd

Description TBD.
14 changes: 14 additions & 0 deletions examples/systemd/switchboard.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[Unit]
Description=SWITCHBOARD demo service
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
User=pi
ExecStart=/usr/bin/local/switchboard -c config.yaml

[Install]
WantedBy=multi-user.target

0 comments on commit e26c2ee

Please sign in to comment.