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

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