How to create a systemd service with root permission?

Hi!

I want this command
automatic on login into Ubuntu-Mate.

This program needs sudo to execute this command:

sudo arpon -d -i enp0s3 -S

I've been trying to get this code to work.

[Unit]
Description=Anti-Spoofing

[Service]
Type=simple
User=root
ExecStart=/usr/sbin/arpon -d -i enp0s3 -S
KillSignal=SIGQUIT

[Install]
WantedBy=multi-user.target

Unsuccessfully, a message appears:

Started Anti-Spoofing
Jun 10 09:24:17 user1 systemd-coredump[3012]: Process 3010 (arpon) of user 0 dumped core.

What must the code line as systemd service be?

After a long time of trying, I now have it running.

[Unit]
Description=AntiSpoofing
After=NetworkManager.service

[Service]
Type=simple
User=root
StartLimitInterval=5
StartLimitBurst=10
ExecStart=/usr/sbin/arpon -d -i enp0s3 -S
Restart=always
KillSignal=SIGQUIT

[Install]
WantedBy=multi-user.target

Redirecting to /bin/systemctl status AntiSpoofing-01.service
● AntiSpoofing-01.service - AntiSpoofing
Loaded: loaded (/etc/systemd/system/AntiSpoofing-01.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2019-06-10 10:05:33 UTC; 7ms ago
Main PID: 2385 (arpon)
Tasks: 0 (limit: 7147)
Memory: 0B
CGroup: /system.slice/AntiSpoofing-01.service
└─2385 /usr/sbin/arpon -d -i enp0s3 -S

Jun 10 10:05:33 user1 systemd[1]: Started AntiSpoofing.

I have edited my AntiSpoofing. service again because
'service AntiSpoofing stop' did not work.

Now I can stop the service AntiSpoofing with 'service AntiSpoofing stop'.

ps aux shows this:
root 4980 1. 1 0. 2 166848 16540 ? Sl 11:34 0:07 /usr/sbin/arpon -d -i enp0s3 -S

The PID of ArpON is not terminated.

How can I add this to my AntiSpoofing. service and
also automatically terminates the PID of ArpON?

Here's my .service file.

[Unit]
Description=AntiSpoofing

[Service]
Type=simple
User=root
StartLimitInterval=5
StartLimitBurst=10
ExecStart=/usr/sbin/arpon -d -i enp0s3 -S
KillMode=process
Restart=no
KillSignal=SIGTERM

[Install]
WantedBy=multi-user.target

I read that the command "ExecStop="
can be used to terminate ArpON, for example.

Is that how I have to add?

ExecStop=/usr/sbin/arpon

I want when ArpON exec restarts that the old PID file and its process automatically removed.

Please help! Thanks!

Error:
ExecStart=/usr/sbin/arpon -d -i enp0s3 -S (code=exited, status=1/FAILURE)

Jun 10 13:02:28 [ERROR] intf.c:467 intf_isvalidinterface: `No activate enp0s3 network i>

When I run it manually, then it starts.