Anonymous

Changes

From Pumping Station One
no edit summary
Line 17: Line 17:  
     sudo useradd strup -b /srv/ -m -r
 
     sudo useradd strup -b /srv/ -m -r
   −
=== Working With SystemD ===
+
== Working With SystemD ==
    
Create a unit file:
 
Create a unit file:
Line 37: Line 37:  
</pre>
 
</pre>
   −
==== start service, check for log output, etc ====
+
=== start service, check for log output, etc ===
    
     sudo systemctl start strup.service
 
     sudo systemctl start strup.service
Line 50: Line 50:  
Initially, in my example, I see <quote>ircbot: /home/PS1/hef/projects/strup/irc/main.cpp:45: int main(int, char**): Assertion `file.is_open()' failed.</quote> because I havn't created a file yet.
 
Initially, in my example, I see <quote>ircbot: /home/PS1/hef/projects/strup/irc/main.cpp:45: int main(int, char**): Assertion `file.is_open()' failed.</quote> because I havn't created a file yet.
   −
==== working with service files ====
+
=== working with service files ===
    
If you tried to see your service user's home directory earlier, you may have noticed it didn't work. switch to your service accounts users.
 
If you tried to see your service user's home directory earlier, you may have noticed it didn't work. switch to your service accounts users.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.