about summary refs log tree commit diff
path: root/MatrixAntiDmSpam@.service
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixAntiDmSpam@.service')
-rw-r--r--MatrixAntiDmSpam@.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/MatrixAntiDmSpam@.service b/MatrixAntiDmSpam@.service
new file mode 100644

index 0000000..490547f --- /dev/null +++ b/MatrixAntiDmSpam@.service
@@ -0,0 +1,15 @@ +# User service +[Unit] +Description=Matrix Anti DM Spam - ~/.config/MatrixAntiDmSpam/appsettings.%i.json +After=network.target + +[Service] +Type=simple +WorkingDirectory=%h/.config/MatrixAntiDmSpam +Environment=DOTNET_ENVIRONMENT=%i +ExecStart=/usr/bin/env dotnet /opt/MatrixAntiDmSpam/MatrixAntiDmSpam.dll +CPUSchedulingPolicy=idle +IOSchedulingClass=3 + +[Install] +WantedBy=default.target \ No newline at end of file