about summary refs log tree commit diff
path: root/MatrixAntiDmSpam@.service
blob: 490547fa8be323b1c194cf5d42047fc0426b4a34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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