diff options
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/config.toml | 13 | ||||
| -rw-r--r-- | dist/scrapbook.service | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/dist/config.toml b/dist/config.toml new file mode 100644 index 0000000..a557edc --- /dev/null +++ b/dist/config.toml @@ -0,0 +1,13 @@ +[Listen] +Address = '0.0.0.0' +Port = 80 + +[Command] +Host = '' +Secret = '' + +[[API]] +Enable = true + +[[Web]] +Enable = true diff --git a/dist/scrapbook.service b/dist/scrapbook.service new file mode 100644 index 0000000..c12ed45 --- /dev/null +++ b/dist/scrapbook.service @@ -0,0 +1,11 @@ +[Unit] +Description=scrapbook server + +[Service] +User=scrapbook +Group=scrapbook +Restart=always +ExecStart=/usr/local/bin/scrapbook + +[Install] +WantedBy=multi-user.target |
