systemd: Remove mkr-bin service

I run this in docker-compose now

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-04-08 04:41:44 +05:30
parent c3a2ccb256
commit 394328ea1d
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 0 additions and 33 deletions

View file

@ -8,5 +8,4 @@ Configuration files for various parts of my webserver
- [systemd-units](systemd_units): Systemd units for various custom services I have on the webserver. - [systemd-units](systemd_units): Systemd units for various custom services I have on the webserver.
- [caddy.service](systemd_units/caddy.service): Unit for the caddyserver instance that powers everything. - [caddy.service](systemd_units/caddy.service): Unit for the caddyserver instance that powers everything.
- [mirror-bot.service](systemd_units/mirror-bot.service), [mirror-bot-2.service](systemd_units/mirror-bot-2.service): Systemd units for my copies of [aria-telegram-mirror-bot](https://github.com/out386/aria-telegram-mirror-bot). - [mirror-bot.service](systemd_units/mirror-bot.service), [mirror-bot-2.service](systemd_units/mirror-bot-2.service): Systemd units for my copies of [aria-telegram-mirror-bot](https://github.com/out386/aria-telegram-mirror-bot).
- [mkr-bin.service](systemd_units/mkr-bin.service): Unit for my [`mkr/bin`](https://github.com/msfjarvis/bin) pastebin [instance](https://bin.msfjarvis.dev).
- [walls-bot.service](systemd_units/walls-bot.service): Units for the [walls-bot](https://github.com/msfjarvis/walls-bot) instances I run for my desktop walls collections. - [walls-bot.service](systemd_units/walls-bot.service): Units for the [walls-bot](https://github.com/msfjarvis/walls-bot) instances I run for my desktop walls collections.

View file

@ -1,32 +0,0 @@
[Unit]
Description=mkr/bin service
After=network.target
[Service]
Restart=on-abort
Type=simple
User=bot
Group=bot
Environment=BIN_MONGO_CSTRING=mongodb://localhost:27017/bin-store BIN_PORT=8080
WorkingDirectory=/home/bot/bin
ExecStart=/usr/bin/npm start
ExecReload=/bin/kill -USR1 $MAINPID
KillMode=mixed
KillSignal=SIGQUIT
TimeoutStopSec=5s
# Security
PrivateTmp=true
ProtectSystem=full
NoNewPrivileges=true
ProtectControlGroups=true
ProtectKernelModules=true
ProtectKernelTunables=true
PrivateDevices=true
RestrictAddressFamilies=AF_INET AF_INET6
RestrictNamespaces=true
RestrictRealtime=true
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target